start
NODE_ENV=development webpack-dev-server
postcss-watch
node_modules/postcss-cli/bin/postcss style/keen.css -o test/demo/keen.css --watch --config postcss.config.js
test
jest
build
NODE_ENV=production webpack -p && NODE_ENV=production OPTIMIZE_MINIMIZE=1 webpack -p && npm run build:bundle && npm run build:node && npm run build:css && npm run build:css:min
build:bundle
NODE_ENV=production BUNDLE=1 webpack -p && NODE_ENV=production OPTIMIZE_MINIMIZE=1 BUNDLE=1 webpack -p
build:node
TARGET=node NODE_ENV=production webpack -p
build:css
node_modules/postcss-cli/bin/postcss style/keen.css -o dist/keen.css --config postcss.config.js
build:css:min
OPTIMIZE_MINIMIZE=1 node_modules/postcss-cli/bin/postcss style/keen.css -o dist/keen.min.css --config postcss.config.js
preversion
npm run build
version
git add .
postversion
git push && git push --tags
profile
webpack --profile --json > stats.json
analyze
webpack-bundle-analyzer stats.json /dist