minterjs-util
v0.25.0 minter blockchain
build
npm run build:browser && npm run build:browser-minify && npm run build:cjs
build:browser
rollup -c build/rollup.config.js
build:cjs
babel src/ -d dist/cjs/ --config-file ./build/babel-cjs.config.js --no-babelrc
build:browser-minify
rollup -c build/rollup.uglify.config.js
prepublishOnly
npm run lint && npm run test && npm run build
precommit
echo 'Pre-commit checks...' && npm run lint
lint
eslint --ext .js ./src/ ./test/
lint:fix
eslint --ext .js ./src/ ./test/ --fix
tsc
tsc --project tsconfig.json
test
npm run jest-coverage && npm run build && npm run jest:bundle-browser && npm run jest:bundle-cjs
test:bundle-browser
npm run build:browser && npm run jest:bundle-browser
test:bundle-cjs
npm run build:cjs && npm run jest:bundle-cjs
jest
jest
jest:bundle-browser
jest --config jest-bundle-browser.config.js
jest:bundle-cjs
jest --config jest-bundle-cjs.config.js
jest-coverage
jest --coverage