minterjs-util
v0.23.0-alpha.1 minter blockchain
build
npm run bundle && npm run bundle:minify && npm run bundle:cjs
bundle
rollup -c build/rollup.config.js
bundle:cjs
babel src/ -d dist/cjs/ --config-file ./build/babel-cjs.config.js --no-babelrc
bundle: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
test
npm run jest && npm run test:bundle && npm run test:bundle-cjs
test:bundle
npm run bundle && npm run jest:bundle
test:bundle-cjs
npm run bundle:cjs && npm run jest:bundle-cjs
jest
jest
jest:bundle
jest --config jest-bundle.config.js
jest:bundle-cjs
jest --config jest-bundle-cjs.config.js
coverage
jest --coverage