Files
eh-downloader/deno.json
2023-06-12 12:35:59 +08:00

22 lines
1.1 KiB
JSON

{
"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",
"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"
},
"fmt": {
"indentWidth": 4,
"exclude": ["config.json", "static/sw.js", "static/sw.meta.json"]
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact",
"lib": ["es2022", "dom", "dom.iterable", "deno.window"]
}
}