2024-06-04 13:06:25 +02:00
|
|
|
{
|
|
|
|
"tasks": {
|
2024-06-04 18:34:58 +02:00
|
|
|
"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",
|
2024-06-04 15:04:16 +02:00
|
|
|
"lint": "deno lint --ignore=docs",
|
2024-06-04 15:17:29 +02:00
|
|
|
"doc": "deno doc --html --name='Portfolio Sever' ./src/*.ts",
|
|
|
|
"check": "deno task lint && deno task test && deno task doc"
|
2024-06-04 13:06:25 +02:00
|
|
|
},
|
|
|
|
"fmt": {
|
|
|
|
"singleQuote": true,
|
|
|
|
"semiColons": false,
|
|
|
|
"useTabs": true
|
|
|
|
},
|
|
|
|
"imports": {
|
2024-06-04 18:30:12 +02:00
|
|
|
"@deno/gfm": "jsr:@deno/gfm@^0.8.2",
|
2024-06-04 13:06:25 +02:00
|
|
|
"@std/media-types": "jsr:@std/media-types@^0.224.1",
|
|
|
|
"@std/path": "jsr:@std/path@^0.225.2"
|
|
|
|
}
|
|
|
|
}
|