-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdeno.json
44 lines (44 loc) · 1.52 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
{
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"fmt": {
"lineWidth": 120,
"proseWrap": "preserve",
"singleQuote": true,
"useTabs": true
},
"imports": {
"@/": "./",
"@deno/gfm": "jsr:@deno/gfm@^0.8.0",
"@kellnerd/musicbrainz": "jsr:@kellnerd/musicbrainz@^0.3.0",
"$fresh/": "https://deno.land/x/[email protected]/",
"fresh/": "https://deno.land/x/[email protected]/",
"lande": "https://esm.sh/[email protected]",
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"preact-render-to-string": "https://esm.sh/*[email protected]",
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]",
"snap-storage": "https://deno.land/x/[email protected]/mod.ts",
"std/": "https://deno.land/[email protected]/",
"tabler-icons/": "https://deno.land/x/[email protected]/tsx/",
"ts-custom-error": "https://esm.sh/[email protected]",
"utils/": "https://deno.land/x/[email protected]/"
},
"tasks": {
"check": "deno check server/fresh.gen.ts cli.ts",
"ok": "deno fmt --check && deno lint && deno task check",
"cli": "deno run --allow-net --allow-read=. --allow-write=. cli.ts",
"dev": "deno run -A --watch=server/static/,server/routes/ server/dev.ts",
"build": "deno run -A server/dev.ts build",
"server": "DENO_DEPLOYMENT_ID=$(git describe --tags) deno run -A server/main.ts"
},
"lint": {
"rules": {
"tags": ["fresh", "recommended"]
}
},
"exclude": ["**/_fresh/*"]
}