std/deno.json

41 lines
1.5 KiB
JSON
Raw Normal View History

{
"compilerOptions": {
"strict": true,
"useUnknownInCatchVariables": true,
"noImplicitOverride": true
},
"fmt": {
"exclude": [
".git",
"crypto/_wasm/target",
"cov",
"jsonc/testdata",
"front_matter/testdata",
"wasi/testdata"
]
},
"importMap": "./test_import_map.json",
"lint": {
"exclude": [
".git",
"crypto/_wasm/target",
"jsonc/testdata",
"front_matter/testdata",
"cov",
"wasi/testdata"
]
2022-03-17 16:31:32 +00:00
},
"tasks": {
"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",
"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",
2022-11-14 07:33:10 +00:00
"lint:check-assertions": "deno run --allow-read --allow-net ./_tools/check_assertions.ts",
"lint": "deno lint && deno task fmt:licence-headers --check && deno task lint:deprecations && deno task lint:doc-imports && deno task lint:check-assertions",
"typos": "typos -c ./.github/workflows/typos.toml",
"build:crypto": "deno task --cwd crypto/_wasm wasmbuild",
"wasmbuild": "deno run --unstable -A https://deno.land/x/wasmbuild@0.10.3/main.ts --js-ext mjs --sync"
}
}