rijs

v0.4.7
Ripple is a modular fullstack framework. In the diverse and fast-moving world of JavaScript, this makes it easy to opt-out of an experimental module, swap a module in a particular use case for a more performant one, or simply bolt-on a new module, without

babel

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

Metadata

Downloads

Maintainers