Files
eh-downloader/deno.json
2023-08-26 15:50:51 +08:00

37 lines
1.6 KiB
JSON

{
"lock": false,
"importMap": "./import_map.json",
"tasks": {
"cache": "deno cache main.ts server-dev.ts",
"server-dev": "deno run -A --unstable \"--watch=static/*.css,static/*.ts,static/*/,routes/,translation/\" server-dev.ts",
"server": "deno run -A --unstable server-run.ts",
"test": "deno test --allow-read=./ --allow-net --allow-write=./ --allow-run=tasklist.exe --unstable",
"run": "deno run --allow-read=./ --allow-write=./ --allow-run=tasklist.exe --allow-env=DENO_DEPLOYMENT_ID --allow-net --unstable",
"compile": "deno compile --allow-read=./ --allow-write=./ --allow-run=tasklist.exe --allow-env=DENO_DEPLOYMENT_ID --allow-net --unstable",
"compile_full": "deno compile --allow-read --allow-write --allow-run=tasklist.exe --allow-env=DENO_DEPLOYMENT_ID --allow-net --unstable",
"fetch": "deno run --allow-read=./ --allow-write=./ --allow-net fetch_static_files.ts",
"gen_meili_server_key": "deno run --allow-net scripts/gen_meili_server_key.ts",
"server-build": "deno run -A --unstable server-dev.ts build"
},
"fmt": {
"indentWidth": 4,
"exclude": [
"config.json",
"static/sw.js",
"static/sw.meta.json",
"_fresh"
]
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact",
"lib": ["es2022", "dom", "dom.iterable", "deno.window"]
},
"lint": {
"rules": {
"tags": ["fresh", "recommended"]
},
"exclude": ["_fresh"]
}
}