Skip to content

Commit

Permalink
Add wasm file to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddimax committed Jan 30, 2025
1 parent 88b29e8 commit 003cd47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file added dist/libarchive.wasm
Binary file not shown.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,17 @@
"node": ">=20"
},
"scripts": {
"bundle": "npm run format:write && npm run package",
"bundle": "npm run format:write && npm run package && npm run package-wasm",
"ci-test": "npx jest",
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
"format:write": "npx prettier --write .",
"format:check": "npx prettier --check .",
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package-wasm": "cp node_modules/libarchive-wasm/dist/*.wasm ./dist",
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
"package:watch": "npm run package -- --watch",
"test": "npx jest",
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package && npm run package-wasm"
},
"license": "MIT",
"jest": {
Expand Down

0 comments on commit 003cd47

Please sign in to comment.