2021-10-13 14:37:57 +00:00
|
|
|
{
|
2022-02-24 12:10:45 +00:00
|
|
|
"compilerOptions": {
|
|
|
|
"strict": true,
|
|
|
|
"useUnknownInCatchVariables": true,
|
2024-03-14 04:20:24 +00:00
|
|
|
"noImplicitOverride": true,
|
|
|
|
"noUncheckedIndexedAccess": true
|
2022-02-24 12:10:45 +00:00
|
|
|
},
|
2023-07-04 05:05:54 +00:00
|
|
|
"imports": {
|
2024-04-29 07:24:55 +00:00
|
|
|
"@deno/graph": "jsr:@deno/graph@^0.74",
|
2024-05-29 05:47:42 +00:00
|
|
|
"@deno/doc": "jsr:@deno/doc@0.137",
|
2024-04-10 07:04:51 +00:00
|
|
|
"npm:/typescript": "npm:typescript@5.4.4",
|
2024-05-22 05:55:07 +00:00
|
|
|
"automation/": "https://raw.githubusercontent.com/denoland/automation/0.10.0/",
|
2024-05-29 04:49:22 +00:00
|
|
|
"graphviz": "npm:node-graphviz@^0.1.1",
|
2024-05-22 05:55:07 +00:00
|
|
|
|
|
|
|
"@std/archive": "jsr:@std/archive@^0.224.0",
|
2024-05-22 10:57:28 +00:00
|
|
|
"@std/assert": "jsr:@std/assert@^0.225.3",
|
|
|
|
"@std/async": "jsr:@std/async@^0.224.1",
|
|
|
|
"@std/bytes": "jsr:@std/bytes@^1.0.0-rc.3",
|
2024-05-29 09:56:12 +00:00
|
|
|
"@std/cli": "jsr:@std/cli@^0.224.4",
|
2024-05-22 05:55:07 +00:00
|
|
|
"@std/collections": "jsr:@std/collections@^1.0.0-rc.1",
|
|
|
|
"@std/crypto": "jsr:@std/crypto@^0.224.0",
|
2024-05-22 10:57:28 +00:00
|
|
|
"@std/csv": "jsr:@std/csv@^0.224.1",
|
2024-05-29 09:56:12 +00:00
|
|
|
"@std/data-structures": "jsr:@std/data-structures@^0.225.0",
|
2024-05-22 05:55:07 +00:00
|
|
|
"@std/datetime": "jsr:@std/datetime@^0.224.0",
|
|
|
|
"@std/dotenv": "jsr:@std/dotenv@^0.224.0",
|
2024-05-29 09:56:12 +00:00
|
|
|
"@std/encoding": "jsr:@std/encoding@^0.224.3",
|
|
|
|
"@std/expect": "jsr:@std/expect@^0.224.3",
|
|
|
|
"@std/fmt": "jsr:@std/fmt@^0.225.2",
|
|
|
|
"@std/front-matter": "jsr:@std/front-matter@^0.224.1",
|
2024-05-22 05:55:07 +00:00
|
|
|
"@std/fs": "jsr:@std/fs@^0.229.1",
|
2024-05-29 09:56:12 +00:00
|
|
|
"@std/html": "jsr:@std/html@^0.224.1",
|
|
|
|
"@std/http": "jsr:@std/http@^0.224.2",
|
|
|
|
"@std/ini": "jsr:@std/ini@^0.225.0",
|
2024-05-22 05:55:07 +00:00
|
|
|
"@std/internal": "jsr:@std/internal@^1.0.0",
|
|
|
|
"@std/io": "jsr:@std/io@^0.224.0",
|
2024-05-22 10:57:28 +00:00
|
|
|
"@std/json": "jsr:@std/json@^0.224.1",
|
2024-05-22 05:55:07 +00:00
|
|
|
"@std/jsonc": "jsr:@std/jsonc@^0.224.0",
|
|
|
|
"@std/log": "jsr:@std/log@^0.224.1",
|
|
|
|
"@std/media-types": "jsr:@std/media-types@^1.0.0-rc.1",
|
2024-05-29 09:56:12 +00:00
|
|
|
"@std/msgpack": "jsr:@std/msgpack@^0.224.2",
|
2024-05-22 05:55:07 +00:00
|
|
|
"@std/net": "jsr:@std/net@^0.224.1",
|
|
|
|
"@std/path": "jsr:@std/path@^0.225.1",
|
2024-05-22 10:57:28 +00:00
|
|
|
"@std/regexp": "jsr:@std/regexp@^0.224.1",
|
2024-05-29 09:56:12 +00:00
|
|
|
"@std/semver": "jsr:@std/semver@^0.224.1",
|
|
|
|
"@std/streams": "jsr:@std/streams@^0.224.2",
|
2024-05-22 05:55:07 +00:00
|
|
|
"@std/testing": "jsr:@std/testing@^0.224.0",
|
2024-05-29 09:56:12 +00:00
|
|
|
"@std/text": "jsr:@std/text@^0.224.1",
|
2024-05-22 05:55:07 +00:00
|
|
|
"@std/toml": "jsr:@std/toml@^0.224.0",
|
2024-05-29 09:56:12 +00:00
|
|
|
"@std/ulid": "jsr:@std/ulid@^0.224.1",
|
2024-05-22 05:55:07 +00:00
|
|
|
"@std/url": "jsr:@std/url@^0.224.0",
|
2024-05-29 09:56:12 +00:00
|
|
|
"@std/uuid": "jsr:@std/uuid@^0.224.3",
|
2024-05-22 10:57:28 +00:00
|
|
|
"@std/webgpu": "jsr:@std/webgpu@^0.224.2",
|
2024-05-29 09:56:12 +00:00
|
|
|
"@std/yaml": "jsr:@std/yaml@^0.224.1"
|
2022-03-17 16:31:32 +00:00
|
|
|
},
|
|
|
|
"tasks": {
|
2024-05-06 04:16:10 +00:00
|
|
|
"test": "RUST_BACKTRACE=1 deno test --unstable-http --unstable-webgpu --doc --allow-all --parallel --coverage --trace-leaks",
|
2024-04-02 10:42:55 +00:00
|
|
|
"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 | 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",
|
2024-04-17 06:36:50 +00:00
|
|
|
"lint:deprecations": "deno run --allow-read --allow-net --allow-env ./_tools/check_deprecation.ts",
|
2024-04-22 05:23:12 +00:00
|
|
|
"lint:circular": "deno run --allow-env --allow-read --allow-net=deno.land,jsr.io ./_tools/check_circular_package_dependencies.ts",
|
2024-01-25 09:36:46 +00:00
|
|
|
"lint:mod-exports": "deno run --allow-env --allow-read ./_tools/check_mod_exports.ts",
|
2023-09-13 13:11:01 +00:00
|
|
|
"lint:tools-types": "deno check _tools/*.ts",
|
2024-05-22 13:42:59 +00:00
|
|
|
"lint:docs": "deno run -A _tools/check_docs.ts",
|
2024-04-29 23:37:05 +00:00
|
|
|
"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:docs",
|
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",
|
2024-03-28 02:24:37 +00:00
|
|
|
"wasmbuild": "deno run -A jsr:@deno/wasmbuild@0.17.1 --js-ext mjs --sync",
|
2023-12-15 19:42:09 +00:00
|
|
|
"cov:gen": "deno coverage coverage --lcov --output=cov.lcov",
|
|
|
|
"cov:view": "deno coverage --html coverage",
|
2023-11-02 01:03:55 +00:00
|
|
|
"ok": "deno task lint && deno fmt --check && deno task test:browser && deno task test"
|
2023-07-04 05:05:54 +00:00
|
|
|
},
|
|
|
|
"exclude": [
|
|
|
|
".git",
|
|
|
|
"crypto/_wasm/target",
|
|
|
|
"cov",
|
|
|
|
"jsonc/testdata",
|
2023-12-21 03:34:17 +00:00
|
|
|
"front_matter/testdata",
|
2024-01-05 07:55:55 +00:00
|
|
|
"coverage",
|
|
|
|
"docs"
|
2024-03-05 03:57:14 +00:00
|
|
|
],
|
|
|
|
"lint": {
|
|
|
|
"rules": {
|
|
|
|
"include": [
|
2024-03-12 00:36:10 +00:00
|
|
|
"camelcase",
|
2024-03-14 11:18:00 +00:00
|
|
|
"no-sync-fn-in-async-fn",
|
2024-04-02 00:57:05 +00:00
|
|
|
"single-var-declarator",
|
|
|
|
"verbatim-module-syntax"
|
2024-03-05 03:57:14 +00:00
|
|
|
]
|
|
|
|
}
|
2024-04-29 02:57:30 +00:00
|
|
|
},
|
|
|
|
"workspaces": [
|
|
|
|
"./archive",
|
|
|
|
"./assert",
|
|
|
|
"./async",
|
|
|
|
"./bytes",
|
|
|
|
"./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",
|
|
|
|
"./regexp",
|
|
|
|
"./semver",
|
|
|
|
"./streams",
|
|
|
|
"./testing",
|
|
|
|
"./text",
|
|
|
|
"./toml",
|
|
|
|
"./ulid",
|
|
|
|
"./url",
|
|
|
|
"./uuid",
|
|
|
|
"./webgpu",
|
|
|
|
"./yaml"
|
|
|
|
]
|
2021-10-13 14:37:57 +00:00
|
|
|
}
|