forked from denoland/std
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.json
59 lines (59 loc) · 2.53 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
57
58
59
{
"compilerOptions": {
"strict": true,
"useUnknownInCatchVariables": true,
"noImplicitOverride": true
},
"fmt": {
"files": {
"exclude": [
".git",
"crypto/_wasm/target",
"encoding/varint/_wasm/target",
"cov",
"encoding/testdata/jsonc",
"encoding/front_matter/testdata",
"node/_tools/versions",
"node/_tools/test",
"node/integrationtest/yarn.js",
"wasi/testdata"
]
}
},
"importMap": "./test_import_map.json",
"lint": {
"files": {
"exclude": [
".git",
"crypto/_wasm/target",
"encoding/varint/_wasm/target",
"encoding/testdata/jsonc",
"encoding/front_matter/testdata",
"cov",
"node/vendor",
"node/_module/node_modules/",
"node/_tools/versions",
"node/_tools/test",
"node/integrationtest/yarn.js",
"wasi/testdata"
]
}
},
"tasks": {
"test": "deno test --doc --unstable --allow-all --coverage=./cov --ignore=node/,_tools/testdata",
"test:browser": "git grep --name-only \"This module is browser compatible.\" | grep -v deno.json | grep -v .github/workflows | xargs deno cache --check --reload --config browser-compat.tsconfig.json",
"fmt:licence-headers": "deno run --allow-read --allow-write ./_tools/check_licence.ts",
"lint:deprecations": "deno run --allow-read --allow-net ./_tools/check_deprecation.ts",
"lint:doc-imports": "deno run --allow-env --allow-read ./_tools/check_doc_imports.ts",
"lint:check-assertions": "deno run --allow-read --allow-net ./_tools/check_assertions.ts",
"lint": "deno lint && deno task node:lint-circular-deps && deno task fmt:licence-headers --check && deno task lint:deprecations && deno task lint:doc-imports && deno task lint:check-assertions",
"node:lint-circular-deps": "deno run --allow-read --allow-net=deno.land ./node/_tools/check_circular_deps.ts",
"node:unit": "deno test --unstable --allow-all --unsafely-ignore-certificate-errors node/ --ignore=node/_tools/test.ts,node/_tools/versions/",
"node:test": "deno test --unstable --allow-all node/_tools/test.ts",
"node:setup": "deno run --allow-read --allow-net --allow-write node/_tools/setup.ts",
"node:check-unstable-api": "deno check --unstable ./node/module_all.ts",
"build:crypto": "deno task --cwd crypto/_wasm wasmbuild",
"build:varint": "deno task --cwd encoding/varint/_wasm wasmbuild",
"wasmbuild": "deno run --unstable -A https://deno.land/x/[email protected]/main.ts --js-ext mjs --sync"
}
}