sonr/devbox.json
Prad Nukala a4dbb41202
feature/dwn database state (#18)
* refactor: move database, navigator scripts to state package

* feat: add Schema config for dwn

* test: add unit tests for InitializeDatabase

* feat: use templated index.html for the DWN frontend

* feat: introduce templ generation for templ

* chore(deps): update devbox.json to use latest packages

* chore: update devbox to use bun

* feat: introduce dwn config generation

* feat: add motr.mjs for vault management

* refactor: move front end from  to  (alert)

* feat: implement devbox integration and devbox-based process management

* feat: embed motr.mjs script for offline demo

* refactor: embed motr.mjs data in embed.go

* chore: update workflows to use actions/checkout@v4

* refactor: move process-compose.yaml to deploy directory

* refactor: remove unnecessary JSON conversion
2024-09-21 21:42:51 -04:00

69 lines
1.4 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": [
"go@1.22",
"bun@latest",
"ipfs-cluster@latest",
"process-compose@latest"
],
"env": {
"CLOUDFLARE_API_TOKEN": "$CLOUDFLARE_API_TOKEN",
"PROJECT_DIR": "$HOME/ghq/github.com/onsonr/sonr",
"PROJECT_BIN": "$PROJECT_DIR/bin",
"GOPATH": "$HOME/go",
"PATH": "$HOME/go/bin:$PROJECT_BIN:$PATH",
"TEMPL_EXPERIMENT": "rawgo",
"CHAIN_ID": "sonr-testnet-1",
"DENOM": "usnr",
"KEYRING": "test",
"MONIKER": "florence",
"ENV": "$ENVIRONMENT"
},
"shell": {
"scripts": {
"install": [
"make install"
],
"install:deps": [
"make deps"
],
"build": [
"make build"
],
"build:dwn": [
"make dwn"
],
"build:image": [
"make local-image"
],
"build:motr": [
"make motr"
],
"gen:proto": [
"make proto-gen"
],
"gen:pkl": [
"make pkl"
],
"gen:templ": [
"make templ"
],
"serve:local": [
"process-compose -f ./deploy/process-compose.dev.yaml"
],
"serve:testnet": [
"process-compose -f ./deploy/process-compose.yaml"
],
"air": [
"air -c ./deploy/air.toml"
],
"xcaddy": [
"make xcaddy"
],
"sonr": [
"make sh-testnet"
]
}
}
}