Skip to content

Commit 003cd47

Browse files
committed
Add wasm file to dist
1 parent 88b29e8 commit 003cd47

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dist/libarchive.wasm

588 KB
Binary file not shown.

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,17 @@
2424
"node": ">=20"
2525
},
2626
"scripts": {
27-
"bundle": "npm run format:write && npm run package",
27+
"bundle": "npm run format:write && npm run package && npm run package-wasm",
2828
"ci-test": "npx jest",
2929
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
3030
"format:write": "npx prettier --write .",
3131
"format:check": "npx prettier --check .",
3232
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
33+
"package-wasm": "cp node_modules/libarchive-wasm/dist/*.wasm ./dist",
3334
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
3435
"package:watch": "npm run package -- --watch",
3536
"test": "npx jest",
36-
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
37+
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package && npm run package-wasm"
3738
},
3839
"license": "MIT",
3940
"jest": {

0 commit comments

Comments
 (0)