Template
1
0
Files
boilerplate/deno.json

45 lines
1.2 KiB
JSON

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