copy
cp -f lib/bundler/bundle-worker.js . && cp -f lib/reloader/reload-client.min.js .
demo
./bin/dvlp test/fixtures/app.js
lint
eslint './{lib,test}/**/*.js'
test
cross-env NODE_ENV=test mocha test/*-test.js --reporter spec --bail --timeout 10000 --require lib/config.js
build
rollup --config rollup.config.js
delete
rm -f bundle-worker.js dvlp.js reload-client.min.js
format
prettier --write './{lib,test}/**/*.{js,json}'
minify
terser lib/reloader/reload-client.js -o lib/reloader/reload-client.min.js
prepare
npm run minify
postpublish
npm run delete
prepublishOnly
npm run minify && npm run build && npm run copy