-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
61 lines (61 loc) · 1.92 KB
/
Copy pathdeno.json
File metadata and controls
61 lines (61 loc) · 1.92 KB
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
57
58
59
60
61
{
"tasks": {
"lint": "deno lint --config deno.json",
"fmt": "deno fmt --config deno.json",
"check": "deno check --config deno.json scripts/*.js modules/**/*.mjs.js",
"test": "deno run --allow-read --allow-env npm:mocha --recursive test/unittest",
"test:watch": "deno run --allow-read --allow-env --watch npm:mocha --recursive test/unittest",
"test:deno": "deno test --allow-read tests/",
"test:deno:watch": "deno test --allow-read --watch tests/",
"test:bench": "deno bench --allow-read tests/bench/",
"verify-rsr": "deno run --allow-read scripts/verify-rsr.js",
"verify": "deno task lint && deno task check && deno task test && deno task test:deno && deno task verify-rsr",
"pack": "deno run --allow-read --allow-write --allow-run scripts/pack.js",
"dev": "deno run --allow-net --allow-read npm:http-server . -c-1",
"update-thirdparty": "deno run --allow-read --allow-write --allow-net scripts/update-thirdparty.js"
},
"lint": {
"files": {
"include": ["modules/", "scripts/", "experiments/", "content/", "test/"],
"exclude": ["thirdparty/", "node_modules/", "_locales/"]
},
"rules": {
"tags": ["recommended"],
"include": ["no-explicit-any", "no-unused-vars"],
"exclude": ["no-window"]
}
},
"fmt": {
"useTabs": true,
"lineWidth": 120,
"indentWidth": 4,
"semicolons": true,
"singleQuote": false,
"proseWrap": "preserve",
"files": {
"include": ["modules/", "scripts/", "experiments/", "test/"],
"exclude": ["thirdparty/", "node_modules/"]
}
},
"imports": {
"@std/assert": "jsr:@std/assert@^1",
"@std/testing": "jsr:@std/testing@^1",
"@std/path": "jsr:@std/path@^1",
"@std/fs": "jsr:@std/fs@^1",
"@std/crypto": "jsr:@std/crypto@^1"
},
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"strict": true,
"lib": ["esnext", "dom", "dom.iterable"]
},
"nodeModulesDir": false,
"exclude": [
"thirdparty/",
"node_modules/",
"_locales/",
"data/",
"*.xpi"
]
}