compose-r
Reverse Composer
Features
Reverse of Idiomatic Compose
Install
npm install --save compose-r
Scripts
- npm run readme :
node ./node_modules/.bin/node-readme
- npm run prepublish :
npm run build
- npm run precommit :
npm run lint:test
- npm run prepush :
npm run lint:test
- npm run release :
release-it
- npm run coveralls :
cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
- npm run lint :
npm run lint:eslint
- npm run lint:eslint :
eslint src/*.js
- npm run test :
clear && jest
- npm run test:coverage :
jest --coverage
- npm run test:watch :
clear && jest --watch
- npm run lint:test :
npm run lint && npm run test:coverage
- npm run build :
clear && npm run lint:test && npm run build:cjs && npm run build:es && npm run build:umd
- npm run build:watch :
clear && rimraf cjs && cross-env BABEL_ENV=cjs babel -w src --out-dir cjs
- npm run build:es :
rimraf es && cross-env BABEL_ENV=es babel src --out-dir es
- npm run build:cjs :
rimraf cjs && cross-env BABEL_ENV=cjs babel src --out-dir cjs
- npm run build:umd :
rimraf dist && cross-env BABEL_ENV=es rollup -c & cross-env BABEL_ENV=es NODE_ENV=production rollup -c
Dependencies
Package | Version | Dev |
---|---|---|
babel-cli | ^6.18.0 | ✔ |
babel-core | ^6.17.0 | ✔ |
babel-eslint | ^7.2.3 | ✔ |
babel-plugin-add-module-exports | ^0.2.1 | ✔ |
babel-preset-es2015 | ^6.16.0 | ✔ |
coveralls | ^2.11.15 | ✔ |
cross-env | ^3.1.3 | ✔ |
eslint | ^3.12.0 | ✔ |
eslint-config-airbnb-base | ^11.3.0 | ✔ |
eslint-plugin-babel | ^4.0.0 | ✔ |
eslint-plugin-import | ^2.7.0 | ✔ |
generate-readme | ^0.3.1 | ✔ |
husky | ^0.12.0 | ✔ |
jest | ^18.1.0 | ✔ |
node-readme | ^0.1.9 | ✔ |
release-it | ^2.5.1 | ✔ |
rimraf | ^2.5.4 | ✔ |
rollup | ^0.39.2 | ✔ |
rollup-plugin-babel | ^2.6.1 | ✔ |
rollup-plugin-bundle-size | ^1.0.1 | ✔ |
rollup-plugin-commonjs | ^7.0.0 | ✔ |
rollup-plugin-node-resolve | ^2.0.0 | ✔ |
rollup-plugin-uglify | ^1.0.1 | ✔ |
Author
Rajat Sharma (rajatsharma0720@gmail.com)