-
Notifications
You must be signed in to change notification settings - Fork 623
/
deno.json
96 lines (96 loc) · 3.17 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"compilerOptions": {
"strict": true,
"exactOptionalPropertyTypes": true,
"useUnknownInCatchVariables": true,
"noImplicitOverride": true,
"noUncheckedIndexedAccess": true
},
"importMap": "./import_map.json",
"tasks": {
"test": "deno test --unstable-http --unstable-webgpu --doc --allow-all --parallel --coverage --trace-leaks --clean",
"test:browser": "git grep --name-only \"This module is browser compatible.\" | grep -v deno.json | grep -v .github/workflows | grep -v _tools | grep -v encoding/README.md | grep -v media_types/vendor/update.ts | xargs deno check --config browser-compat.tsconfig.json",
"test:node": "node --import ./_tools/node_test_runner/register_deno_shim.mjs ./_tools/node_test_runner/run_test.mjs",
"fmt:licence-headers": "deno run --allow-read --allow-write ./_tools/check_licence.ts",
"lint:deprecations": "deno run --allow-read --allow-net --allow-env ./_tools/check_deprecation.ts",
"lint:circular": "deno run --allow-env --allow-read --allow-write --allow-net=deno.land,jsr.io ./_tools/check_circular_package_dependencies.ts",
"lint:mod-exports": "deno run --allow-env --allow-read ./_tools/check_mod_exports.ts",
"lint:tools-types": "deno check _tools/*.ts",
"lint:docs": "deno run -A _tools/check_docs.ts",
"lint:import-map": "deno run -A _tools/check_import_map.ts",
"lint:unstable-deps": "deno run -A _tools/check_unstable_deps.ts",
"lint": "deno lint && deno task fmt:licence-headers --check && deno task lint:circular && deno task lint:deprecations && deno task lint:tools-types && deno task lint:mod-exports && deno task lint:import-map && deno task lint:docs && deno task lint:unstable-deps",
"typos": "typos -c ./.github/workflows/typos.toml",
"build:crypto": "deno task --cwd crypto/_wasm wasmbuild",
"wasmbuild": "deno run -A jsr:@deno/[email protected] --js-ext mjs --sync",
"cov": "deno coverage --ignore=\"**/*.generated.mjs,**/_test_utils.ts,.github\"",
"cov:gen": "deno task cov --lcov --output=cov.lcov",
"cov:view": "deno task cov --html",
"ok": "deno task lint && deno fmt --check && deno task test:browser && deno task test"
},
"exclude": [
".git",
"crypto/_wasm/target",
"cov",
"jsonc/testdata",
"front_matter/testdata",
"_tools/node_test_runner",
"coverage",
"docs"
],
"lint": {
"rules": {
"include": [
"camelcase",
"no-sync-fn-in-async-fn",
"single-var-declarator",
"verbatim-module-syntax",
"no-console"
]
}
},
"workspace": [
"./archive",
"./assert",
"./async",
"./bytes",
"./cache",
"./cbor",
"./cli",
"./collections",
"./crypto",
"./csv",
"./data_structures",
"./datetime",
"./dotenv",
"./encoding",
"./expect",
"./fmt",
"./front_matter",
"./fs",
"./html",
"./http",
"./ini",
"./internal",
"./io",
"./json",
"./jsonc",
"./log",
"./media_types",
"./msgpack",
"./net",
"./path",
"./random",
"./regexp",
"./semver",
"./streams",
"./tar",
"./testing",
"./text",
"./toml",
"./ulid",
"./uuid",
"./webgpu",
"./yaml"
]
}