This is a minimum single page application template.
This template includes these features.
- Writing code by ES6+.
- Running unit test on browser
- Autobuild
- Livereload
- React.js
- For buiding UI.
- http://facebook.github.io/react/
- Babel
- For using ES6+ features and compiling JSX.
- https://babeljs.io/
- Browserify + watchify
- Browserify is for transforming by Babel and power-assert.
- Watchify is used for auto build and increase transforming more faster.
- http://browserify.org/
- Karma
- For test runner.
- http://karma-runner.github.io/
- BrowserSync
- For static server and livereload.
- http://www.browsersync.io/
config files are only package.json
and karma.conf.js
.
You can write your code immediately.
npm install
npm start
You can start watchify
and browser-sync
and karma
npm run build
You can generate a bundled file for production environment. (.gitignore)
This is for using in deployment step.