portfolio_server/deno.json

20 lines
759 B
JSON

{
"tasks": {
"serve": "deno run --allow-net=\"git.cohabit.fr,localhost:$PORT,127.0.0.1:$PORT,0.0.0.0:$PORT\" --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL,NO_COLOR,FORCE_COLOR,TERM --allow-read=. ./server.ts",
"test": "deno test --ignore=server.ts --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL,NO_COLOR,FORCE_COLOR,TERM --allow-read=. --doc",
"lint": "deno lint --ignore=docs",
"doc": "deno doc --html --name='Portfolio Sever' ./src/*.ts",
"check": "deno task lint && deno task test && deno task doc"
},
"fmt": {
"singleQuote": true,
"semiColons": false,
"useTabs": true
},
"imports": {
"@deno/gfm": "jsr:@deno/gfm@^0.8.2",
"@std/media-types": "jsr:@std/media-types@^0.224.1",
"@std/path": "jsr:@std/path@^0.225.2"
}
}