istack-components-ezwon
v0.0.2
Published
istack common library using react-transform-hmr, Babel 6, webpack and SASS
Downloads
2
Maintainers
Readme
#istack-components-ezwon
istack common library using react-transform-hmr, Babel 6, webpack and SASS
##Features
- Babel 6 for ES6 and ES7
- style-loader, sass-loader and less-loader to allow import of stylesheets in plain css, sass and less,
- mocha to allow writing unit tests for the project
- react-storybook
- enzyme for testing
- travis as CI
- istanbul for code coverage (ES2015)
- codecov.io for code-coverage reporting
- Scripts written for building components(ES5)
- semantic-release for automated releases following semantic versioning
- commitizen and cz-conventional-changelog for better commit messages.
Getting started
cd istack-components-ezwon/
npm install
npm run storybook
Scripts
npm run lint
: Lint all js filesnpm run lintfix
: fix linting errors of all js filesnpm run semantic-release
: make a release. Leave it for CI to do.npm run storybook
: Start developing by using storybooknpm run test
: Run tests. tests file should be written as*.test.js
and using ES2015npm run test:watch
: Watch tests while writingnpm run test:cover
: Show coverage report of your testsnpm run test:report
: Report test coverage to codecov.io. Leave this for CInpm run build
: transpile all ES6 component files into ES5(commonjs) and put it indist
directorynpm run docs
: create static build of storybook indocs
directory that can be used for github pages
Learn how to write stories here
License
MIT