rijs

v0.5.2
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

sh -c 'echo "require(\'utilise\');$(cat dist/index.js)" | browserify - -o dist/ripple.js -g ./clientify -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 keep_fargs=false -o dist/ripple.min.js --screw-ie8

minify:pure

uglifyjs dist/ripple.pure.js -m -c keep_fargs=false -o dist/ripple.pure.min.js --screw-ie8

version

npm run build && git add -A

postversion

git push && git push --tags

test

popper

Metadata

Downloads

Maintainers