-
Notifications
You must be signed in to change notification settings - Fork 1
/
deno.jsonc
28 lines (28 loc) · 1.03 KB
/
deno.jsonc
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
{
"importMap": "import-map.json",
"tasks": {
"clean": "rm -rf dist",
"serve": "deno run --watch --allow-read=public --allow-net --allow-env=NODE_DEBUG,FIREBASE_DATABASE_EMULATOR_HOST --no-check=remote --location=http://localhost:8000 src/entry/deno.ts",
"build-sw": "deno run -A 'https://deno.land/x/esbuild/mod.js' src/entry/sw.ts --bundle --sourcemap --target=es2020 --outfile=public/sw.js --define:global=self --tsconfig=tsconfig.sw.json --define:DEBUG=false --define:SW=true --minify",
"watch-sw": "deno run -A 'https://deno.land/x/esbuild/mod.js' src/entry/sw.ts --bundle --sourcemap --target=es2020 --outfile=public/sw.js --define:global=self --tsconfig=tsconfig.sw.json --define:DEBUG=true --define:SW=true --watch",
},
"lint": {
"files": {
"include": [
"src/"
],
},
"rules": {
"tags": [
"recommended"
],
"include": [],
"exclude": [
"no-unused-vars",
"no-explicit-any",
"no-cond-assign",
"no-extra-semi",
],
},
},
}