2021-10-13 14:37:57 +00:00
|
|
|
{
|
2022-02-24 12:10:45 +00:00
|
|
|
"compilerOptions": {
|
|
|
|
"strict": true,
|
|
|
|
"useUnknownInCatchVariables": true,
|
|
|
|
"noImplicitOverride": true
|
|
|
|
},
|
2021-10-13 14:37:57 +00:00
|
|
|
"fmt": {
|
2023-05-01 02:50:38 +00:00
|
|
|
"exclude": [
|
|
|
|
".git",
|
|
|
|
"crypto/_wasm/target",
|
|
|
|
"cov",
|
|
|
|
"jsonc/testdata",
|
|
|
|
"front_matter/testdata",
|
|
|
|
"wasi/testdata"
|
|
|
|
]
|
2021-10-13 14:37:57 +00:00
|
|
|
},
|
2022-02-24 12:10:45 +00:00
|
|
|
"importMap": "./test_import_map.json",
|
2021-10-13 14:37:57 +00:00
|
|
|
"lint": {
|
2023-05-01 02:50:38 +00:00
|
|
|
"exclude": [
|
|
|
|
".git",
|
|
|
|
"crypto/_wasm/target",
|
|
|
|
"jsonc/testdata",
|
|
|
|
"front_matter/testdata",
|
|
|
|
"cov",
|
|
|
|
"wasi/testdata"
|
|
|
|
]
|
2022-03-17 16:31:32 +00:00
|
|
|
},
|
|
|
|
"tasks": {
|
2023-03-18 12:36:00 +00:00
|
|
|
"test": "deno test --doc --unstable --allow-all --coverage=./cov",
|
|
|
|
"test:browser": "git grep --name-only \"This module is browser compatible.\" | grep -v deno.json | grep -v .github/workflows | grep -v _tools | xargs deno check --config browser-compat.tsconfig.json",
|
2022-12-13 04:07:56 +00:00
|
|
|
"fmt:licence-headers": "deno run --allow-read --allow-write ./_tools/check_licence.ts",
|
2022-09-16 02:34:50 +00:00
|
|
|
"lint:deprecations": "deno run --allow-read --allow-net ./_tools/check_deprecation.ts",
|
2022-11-01 17:50:00 +00:00
|
|
|
"lint:doc-imports": "deno run --allow-env --allow-read ./_tools/check_doc_imports.ts",
|
2022-11-14 07:33:10 +00:00
|
|
|
"lint:check-assertions": "deno run --allow-read --allow-net ./_tools/check_assertions.ts",
|
2023-02-22 15:28:55 +00:00
|
|
|
"lint": "deno lint && deno task fmt:licence-headers --check && deno task lint:deprecations && deno task lint:doc-imports && deno task lint:check-assertions",
|
2023-06-26 06:23:09 +00:00
|
|
|
"typos": "typos -c ./.github/workflows/typos.toml",
|
2022-11-07 06:53:46 +00:00
|
|
|
"build:crypto": "deno task --cwd crypto/_wasm wasmbuild",
|
2023-02-10 10:17:14 +00:00
|
|
|
"wasmbuild": "deno run --unstable -A https://deno.land/x/wasmbuild@0.10.3/main.ts --js-ext mjs --sync"
|
2021-10-13 14:37:57 +00:00
|
|
|
}
|
|
|
|
}
|