layrz-react-utils
v0.1.4
Published
Some useful stuff for ReactJS
Downloads
6
Maintainers
Readme
:page_with_curl: Some useful stuff for working with ReactJS
Features
- Build with Babel. (ES6 -> ES5)
- Test with mocha.
- Cover with istanbul.
- Check with eslint.
- Deploy with Travis.
Commands
npm run clean
- Removelib/
directorynpm test
- Run tests. Tests can be written with ES6 (WOW!)npm test:watch
- You can even re-run tests on file changes!npm run cover
- Yes. You can even cover ES6 code.npm run lint
- We recommend using airbnb-config. It's fantastic.npm run test
- We recommend writing examples on pure JS for better understanding module usage.npm run build
- Do some magic with ES6 to create ES5 code.npm run prepublish
- Hook for npm. Do all the checks before publishing you module.
Installation
npm install