-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.json
45 lines (45 loc) · 1.22 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
42
43
44
45
{
"tasks": {
"deps:reload": "deno cache --reload src/deps.ts",
"deps:update": "deno run -A --unstable https://deno.land/x/udd@0.8.2/main.ts src/deps.ts && deno task esm:update & deno task deps:reload",
"esm:add": "deno run -A https://esm.sh/v133 add",
"esm:remove": "deno run -A https://esm.sh/v133 remove",
"esm:update": "deno run -A https://esm.sh/v133 update",
"hooks:install": "deno run -A -r https://deno.land/x/githooks/githooks.ts",
"quality:check": "FMTFLAGS=--check; deno task quality:fix",
"quality:fix": "deno lint && deno fmt $FMTFLAGS && deno check -I polling.ts && deno check -I server.ts",
"start:polling": "deno run -A --watch polling.ts",
"start:server": "deno run -A --watch server.ts"
},
"lint": {
"exclude": [
"dist",
"node_modules",
"sessions",
".vercel"
]
},
"fmt": {
"lineWidth": 120,
"exclude": [
"dist",
"node_modules",
"sessions",
".vercel"
]
},
"imports": {
"mathjs": "npm:mathjs@11.11.2",
"preact": "npm:preact@10.18.2"
},
"githooks": {
"pre-commit": "quality:check"
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"unstable": [
"kv"
]
}