recycle

v2.2.2
A functional and reactive library for React

clean

rm -rf dist && mkdir dist && rm -rf lib && mkdir lib

test

jest

test:watch

jest --watch

test:coverage

jest --coverage

prepublish

npm run build && npm run build:umd && npm run build:umd:min

build:umd

browserify lib/index.js -o dist/recycle.js -s recycle && echo "recycle = recycle.default;" >> dist/recycle.js

build:umd:min

NODE_ENV=production uglifyjs --compress --mangle -o dist/recycle.min.js -- dist/recycle.js

build

npm run clean && babel src -d ./lib/

docs:prepare

gitbook install

docs:watch

npm run docs:prepare && gitbook serve

docs:build

npm run docs:prepare && rm -rf _book && gitbook build

docs:publish

npm run docs:build && cd _book && git init && git commit --allow-empty -m 'Update docs' && git checkout -b gh-pages && git add . && git commit -am 'Update docs' && git push https://github.com/recyclejs/recycle gh-pages --force && git checkout master

Metadata

  • MIT
  • Whatever
  • Domagoj Kriskovic
  • released 5/24/2017

Downloads

Maintainers