64 lines
2.0 KiB
JSON
64 lines
2.0 KiB
JSON
{
|
|
"unstable": ["fmt-component"],
|
|
"nodeModulesDir": "auto",
|
|
"workspace": [
|
|
"api",
|
|
"apps/react",
|
|
"modules/identity",
|
|
"platform/cerbos",
|
|
"platform/config",
|
|
"platform/database",
|
|
"platform/logger",
|
|
"platform/relay",
|
|
"platform/server",
|
|
"platform/socket",
|
|
"platform/spec",
|
|
"platform/storage",
|
|
"platform/vault"
|
|
],
|
|
"imports": {
|
|
"@modules/identity/client.ts": "./modules/identity/client.ts",
|
|
"@modules/identity/server.ts": "./modules/identity/server.ts",
|
|
"@platform/cerbos/": "./platform/cerbos/",
|
|
"@platform/config/": "./platform/config/",
|
|
"@platform/database/": "./platform/database/",
|
|
"@platform/logger": "./platform/logger/mod.ts",
|
|
"@platform/relay": "./platform/relay/mod.ts",
|
|
"@platform/server/": "./platform/server/",
|
|
"@platform/socket/": "./platform/socket/",
|
|
"@platform/spec/": "./platform/spec/",
|
|
"@platform/storage": "./platform/storage/storage.ts",
|
|
"@platform/vault": "./platform/vault/vault.ts"
|
|
},
|
|
"tasks": {
|
|
"start:api": {
|
|
"command": "cd ./api && deno run start",
|
|
"description": "Start api server instance."
|
|
},
|
|
"start:react": {
|
|
"command": "cd ./apps/react && deno run dev",
|
|
"description": "Start react application instance."
|
|
},
|
|
"check": {
|
|
"command": "deno check ./api/server.ts ./platform",
|
|
"description": "Runs a check on all the projects main entry files."
|
|
},
|
|
"lint": {
|
|
"command": "npx eslint -c eslint.config.mjs .",
|
|
"description": "Runs eslint across the entire project."
|
|
},
|
|
"fmt": {
|
|
"command": "npx prettier --write .",
|
|
"description": "Runs prettier formatting across the entire project."
|
|
},
|
|
"test": {
|
|
"command": "deno test --allow-all",
|
|
"description": "Runs all defined tests across the entire project."
|
|
},
|
|
"ncu": {
|
|
"command": "npx ncu -u -p npm",
|
|
"description": "Updates all the dependencies in package.json to their latest versions."
|
|
}
|
|
}
|
|
}
|