Updated build-clean to include dist builds to prepare package for publishing.
This commit is contained in:
parent
955e4c0af7
commit
12ed855a2e
@ -115,10 +115,10 @@
|
||||
"build-docs": "echo 'foo'",
|
||||
"auto-build": "npm run build -- -w",
|
||||
"build-all": "npm run build && npm run build-commonjs && npm run build-types",
|
||||
"build-clean": "npm run clean && npm run build-all",
|
||||
"build-clean": "npm run clean && npm run build-all && npm run _build-dist",
|
||||
"_dist-stats": "gzip -k9f -S '.gz' ./dist/ethers.min.js && gzip -k9f -S '.gz' ./dist/wordlists-extra.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js",
|
||||
"_build-dist": "rollup -c && uglifyjs ./dist/ethers.js -o ./dist/ethers.min.js && uglifyjs ./dist/wordlists-extra.js -o ./dist/wordlists-extra.min.js && npm run _dist-stats",
|
||||
"build-dist": "npm run build && npm run _build-dist",
|
||||
"_build-dist": "rollup -c && uglifyjs ./dist/ethers.js -o ./dist/ethers.min.js && uglifyjs ./dist/wordlists-extra.js -o ./dist/wordlists-extra.min.js",
|
||||
"build-dist": "npm run build && npm run _build-dist && npm run _dist-stats",
|
||||
"stats": "echo 'Dependencies' && npm ls --all --omit=dev",
|
||||
"test": "mocha --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js",
|
||||
"test-commonjs": "mocha --reporter ./reporter.cjs ./lib.commonjs/_tests/test-*.js",
|
||||
|
Loading…
Reference in New Issue
Block a user