|
14 | 14 | "fs": "data:application/javascript,export const readFileSync = () => { throw new Error('fs not supported'); }; export default { readFileSync };" |
15 | 15 | }, |
16 | 16 | "tasks": { |
17 | | - "demo": "deno run --allow-read --allow-write demo-deno.ts", |
18 | | - "test": "deno test --allow-read --no-check tests/deno/", |
19 | | - "test:basic": "deno test --allow-read --no-check tests/deno/basic.test.ts", |
20 | | - "build": "deno task build:wasm:meson", |
21 | | - "build:main:meson": "meson setup build-main --cross-file=scripts/emscripten.cross --prefix=$PWD/install -Dlibdir=wasm -Dbindir=wasm && meson compile -C build-main zlib-main && meson install -C build-main", |
22 | | - "build:side:meson": "meson setup build-side --cross-file=scripts/emscripten.cross --prefix=$PWD/install -Dlibdir=wasm -Dbindir=wasm && meson compile -C build-side zlib-side && meson install -C build-side", |
23 | | - "build:wasm:meson": "deno task build:main:meson && deno task build:side:meson", |
| 17 | + "demo": "deno run --allow-read demo-deno.ts", |
| 18 | + "test": "deno test --allow-read tests/deno/", |
| 19 | + "test:basic": "deno test --allow-read tests/deno/basic.test.ts", |
| 20 | + "bench": "deno bench --allow-read bench/", |
| 21 | + "build:wasm": "./build-dual.sh all", |
24 | 22 | "build:npm": "deno run --allow-all _build_npm.ts", |
25 | 23 | "build:all": "deno task build:wasm && deno task build:npm", |
26 | | - "benchmark": "deno run --allow-read --allow-write bench/compression.bench.ts", |
| 24 | + "validate:all": "deno task test && deno task bench", |
27 | 25 | "publish:npm": "deno task build:all && cd npm && npm publish", |
28 | 26 | "publish:dry": "deno task build:all && cd npm && npm publish --dry-run", |
29 | 27 | "clean": "rm -rf build-* install/ dist/ npm/", |
30 | | - "check": "deno check src/lib/index.ts", |
31 | | - "check:all": "deno check src/lib/index.ts && deno check demo-deno.ts && deno check bench/compression.bench.ts && deno check _build_npm.ts" |
| 28 | + "check": "deno check src/lib/index.ts" |
32 | 29 | }, |
33 | 30 | "compilerOptions": { |
34 | 31 | "lib": ["deno.ns", "dom", "es2022", "deno.unstable"], |
|
0 commit comments