-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.json
41 lines (41 loc) · 1.21 KB
/
deno.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"tasks": {
"dev": {
"command": "NODE_ENV=development deno run --watch -A deno/mononykus.ts --watch",
"dependencies": ["svelte:lsp"]
},
"build": "deno task build:mononykus && deno task build:icons && deno task build:media",
"build:icons": "deno run --allow-read --allow-write=build --allow-net --allow-ffi --allow-sys deno/scripts/process_icons.ts",
"build:media": "deno run --allow-read=deno/media,build/media --allow-write=build/media deno/media.ts",
"build:mononykus": {
"command": "NODE_ENV=production deno run -A deno/mononykus.ts",
"dependencies": ["clean"]
},
"clean": "rm -rf build",
"svelte:lsp": "deno install --node-modules-dir --no-lock",
"serve": {
"command": "deno run --allow-read --allow-net deno/server.ts",
"dependencies": ["build"]
}
},
"compilerOptions": {
"lib": ["deno.ns", "dom", "dom.asynciterable"],
"checkJs": true,
"useUnknownInCatchVariables": true,
"noUncheckedIndexedAccess": true,
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"fmt": {
"include": ["deno", "deno.json", ".zed"],
"lineWidth": 120,
"indentWidth": 4,
"useTabs": true
},
"lint": {
"include": ["deno", "deno.json"]
},
"imports": {
"svelte": "npm:[email protected]"
}
}