mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
134 lines
4.6 KiB
JSON
134 lines
4.6 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"noImplicitOverride": true,
|
|
"noUncheckedIndexedAccess": true
|
|
},
|
|
"imports": {
|
|
"@deno/graph": "jsr:@deno/graph@^0.74",
|
|
"@deno/doc": "jsr:@deno/doc@0.137",
|
|
"npm:/typescript": "npm:typescript@5.4.4",
|
|
"automation/": "https://raw.githubusercontent.com/denoland/automation/0.10.0/",
|
|
"graphviz": "npm:node-graphviz@^0.1.1",
|
|
|
|
"@std/archive": "jsr:@std/archive@^0.224.0",
|
|
"@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",
|
|
"@std/cli": "jsr:@std/cli@^0.224.4",
|
|
"@std/collections": "jsr:@std/collections@^1.0.0-rc.1",
|
|
"@std/crypto": "jsr:@std/crypto@^0.224.0",
|
|
"@std/csv": "jsr:@std/csv@^0.224.1",
|
|
"@std/data-structures": "jsr:@std/data-structures@^0.225.0",
|
|
"@std/datetime": "jsr:@std/datetime@^0.224.0",
|
|
"@std/dotenv": "jsr:@std/dotenv@^0.224.0",
|
|
"@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",
|
|
"@std/fs": "jsr:@std/fs@^0.229.1",
|
|
"@std/html": "jsr:@std/html@^0.224.1",
|
|
"@std/http": "jsr:@std/http@^0.224.2",
|
|
"@std/ini": "jsr:@std/ini@^0.225.0",
|
|
"@std/internal": "jsr:@std/internal@^1.0.0",
|
|
"@std/io": "jsr:@std/io@^0.224.0",
|
|
"@std/json": "jsr:@std/json@^0.224.1",
|
|
"@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",
|
|
"@std/msgpack": "jsr:@std/msgpack@^0.224.2",
|
|
"@std/net": "jsr:@std/net@^0.224.1",
|
|
"@std/path": "jsr:@std/path@^0.225.1",
|
|
"@std/regexp": "jsr:@std/regexp@^0.224.1",
|
|
"@std/semver": "jsr:@std/semver@^0.224.1",
|
|
"@std/streams": "jsr:@std/streams@^0.224.2",
|
|
"@std/testing": "jsr:@std/testing@^0.224.0",
|
|
"@std/text": "jsr:@std/text@^0.224.1",
|
|
"@std/toml": "jsr:@std/toml@^0.224.0",
|
|
"@std/ulid": "jsr:@std/ulid@^0.224.1",
|
|
"@std/url": "jsr:@std/url@^0.224.0",
|
|
"@std/uuid": "jsr:@std/uuid@^0.224.3",
|
|
"@std/webgpu": "jsr:@std/webgpu@^0.224.2",
|
|
"@std/yaml": "jsr:@std/yaml@^0.224.1"
|
|
},
|
|
"tasks": {
|
|
"test": "deno test --unstable-http --unstable-webgpu --doc --allow-all --parallel --coverage --trace-leaks",
|
|
"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",
|
|
"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-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": "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",
|
|
"typos": "typos -c ./.github/workflows/typos.toml",
|
|
"build:crypto": "deno task --cwd crypto/_wasm wasmbuild",
|
|
"wasmbuild": "deno run -A jsr:@deno/wasmbuild@0.17.1 --js-ext mjs --sync",
|
|
"cov": "deno coverage --ignore=\"**/*.generated.mjs\"",
|
|
"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",
|
|
"coverage",
|
|
"docs"
|
|
],
|
|
"lint": {
|
|
"rules": {
|
|
"include": [
|
|
"camelcase",
|
|
"no-sync-fn-in-async-fn",
|
|
"single-var-declarator",
|
|
"verbatim-module-syntax"
|
|
]
|
|
}
|
|
},
|
|
"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"
|
|
]
|
|
}
|