rijs
v0.4.7babel
babel src -d dist
build
npm run clean && npm run babel && npm run ignore && npm run build:pure && npm run bundle && npm run minify && npm run gzip
build:pure
npm run bundle:pure && npm run minify:pure
bundle
browserify dist/index.js -o dist/ripple.js -i socket.io -i mysql -i jsondiffpatch -i rijs.hypermedia -i colors
bundle:pure
browserify dist/index.js -o dist/ripple.pure.js -g ./purify -i socket.io -i mysql -i jsondiffpatch -i socket.io-client -i **/utilise/**/*.js -i rijs.hypermedia --no-builtins -i colors -i utilise
clean
rm -rf dist && mkdir dist
gzip
gzip -c dist/ripple.min.js > dist/ripple.min.js.gz && gzip -c dist/ripple.pure.min.js > dist/ripple.pure.min.js.gz
ignore
find ./dist -type f -exec sed -i "s/function _interopRequire/\/* istanbul ignore next *\/\nfunction _interopRequire/g" {} ;
minify
uglifyjs dist/ripple.js -m -c drop_console,dead_code -d debug=false -o dist/ripple.min.js
minify:pure
uglifyjs dist/ripple.pure.js -m -c drop_console,dead_code -d debug=false -o dist/ripple.pure.min.js
postversion
git push && git push --tags
test
popper
version
rm -f npm-shrinkwrap.json && npm update && npm run build && npm prune && npm shrinkwrap && git add -A
npm i [email protected]
Metadata
- pemrouz.mit-license.org
- Whatever
- Pedram Emrouznejad
- released 11/20/2015