-
Notifications
You must be signed in to change notification settings - Fork 4
/
deno.json
56 lines (56 loc) · 1.77 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
46
47
48
49
50
51
52
53
54
55
56
{
"compilerOptions": {
"strict": true,
"noImplicitOverride": true,
"noUnusedParameters": true,
"lib": [
"DOM",
"ESNext",
"deno.window"
],
"jsx": "react-jsx",
"jsxFactory": "preact.h",
"jsxFragmentFactory": "preact.Fragment"
},
"lint": {
"rules": {
"tags": ["recommended"]
}
},
"fmt": {
"indentWidth": 2,
"lineWidth": 80,
"proseWrap": "always",
"singleQuote": false,
"useTabs": false
},
"tasks": {
"build": "deno run --allow-run --allow-read --allow-write --allow-env --allow-net ./build/build.ts",
"dev": "DEV=1 deno task build",
"watch": "WATCH=1 deno task build",
"clean": "rm -rf ./dist",
"check-version": "bash ./scripts/checkVersion.sh",
"check-version-increase": "bash ./scripts/checkVersionIncrease.sh",
"setup-vscode": "deno run --allow-run --allow-read --allow-write scripts/setup-vscode.ts"
},
"imports": {
"@std/fs": "jsr:@std/fs@^1.0.4",
"@std/jsonc": "jsr:@std/jsonc@^1.0.1",
"@std/path": "jsr:@std/path@^1.0.6",
"@std/streams": "jsr:@std/streams@^1.0.7",
"@types/webextension-polyfill": "npm:@types/webextension-polyfill@^0.12.1",
"esbuild": "npm:[email protected]",
"esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.0",
"esbuild-plugin-debug-switch": "jsr:@tsukina-7mochi/esbuild-plugin-debug-switch@^0.2.0",
"esbuild-plugin-sass": "jsr:@tsukina-7mochi/esbuild-plugin-sass@^0.1.1",
"preact": "npm:preact@^10.24.3",
"preact/compat": "npm:preact@^10.24.3/compat",
"react/jsx-runtime": "npm:preact@^10.24.3/jsx-runtime",
"react/jsx-dev-runtime": "npm:preact@^10.24.3/jsx-dev-runtime",
"webextension-polyfill": "npm:webextension-polyfill@^0.12.0",
"~/": "./src/"
},
"exclude": [
"dist/"
]
}