Template
1
0
Files
boilerplate/deno.json
2025-09-19 18:58:02 +02:00

47 lines
1.3 KiB
JSON

{
"unstable": ["fmt-component"],
"nodeModulesDir": "auto",
"workspace": [
"api",
"apps/react",
"platform/models",
"platform/relay",
"platform/spec"
],
"imports": {
"@platform/models/": "./platform/models/",
"@platform/relay": "./platform/relay/mod.ts",
"@platform/spec/": "./platform/spec/"
},
"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."
}
}
}