std/deno.json

36 lines
1.8 KiB
JSON
Raw Normal View History

{
"compilerOptions": {
"strict": true,
"useUnknownInCatchVariables": true,
"noImplicitOverride": true
},
2023-07-04 05:05:54 +00:00
"imports": {
"https://deno.land/std@$STD_VERSION/": "./"
2022-03-17 16:31:32 +00:00
},
"tasks": {
"test": "deno test --doc --unstable --allow-all --parallel --coverage=./cov --trace-ops",
"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",
"lint:circular": "deno run --allow-env --allow-read --allow-net=deno.land ./_tools/check_circular_submodule_dependencies.ts",
"lint:tools-types": "deno check _tools/*.ts",
"lint": "deno lint && deno task fmt:licence-headers --check && deno task lint:deprecations && deno task lint:doc-imports && deno task lint:circular && deno task lint:tools-types",
"typos": "typos -c ./.github/workflows/typos.toml",
"build:crypto": "deno task --cwd crypto/_wasm wasmbuild",
2023-10-29 04:23:03 +00:00
"wasmbuild": "deno run --unstable -A https://deno.land/x/wasmbuild@0.15.0/main.ts --js-ext mjs --sync",
"cov:clean": "rm -rf cov html_cov cov.lcov",
"cov:gen": "deno coverage ./cov/ --lcov --output=cov.lcov",
2023-10-30 01:21:25 +00:00
"cov:view": "genhtml --ignore-errors unmapped -o html_cov cov.lcov && open html_cov/index.html",
"ok": "deno task lint && deno task test:browser && deno task test"
2023-07-04 05:05:54 +00:00
},
"exclude": [
".git",
"crypto/_wasm/target",
"cov",
"jsonc/testdata",
"front_matter/testdata",
"wasi/testdata"
]
}