Install
npm install
Usage:
npm run-script serveOpen http://localhost:4200
or
$ npm run-script bundle
$ http-server dist/
and open http://localhost:8080
Test:
$ npm test
- All JavaScript files are transpiled with 6to5 library with enabled experimental ES7 syntax (see: https://6to5.org/features.html).
- For using experimental ES7 code in
Jesttests, the project is using my fork of6to5-jestpackage (https://github.com/hipertracker/6to5-jest) - The workflow and communication between components is built using
Reflux(https://github.com/spoike/refluxjs), a slighty modified (improved) Flux paradigm. See: http://blog.krawaller.se/posts/reflux-refinement/ - Unit testing is provided by
Jest(https://facebook.github.io/jest/) - The example is using Bootstrap 3 React components thanks to
react-bootstrap(http://react-bootstrap.github.io/).
Todo:
- Add more unit tests showing
Jesttesting ES5/ES7 code. - Add
Yeomanproject with options to choose SASS/Less/Stylus and Bootstrap/Semantic-UI