A CRUD application using browserify using ES6.
Modules used
- page.js (for routing)
- superagent (for requests)
- Fork and clone the repo
- Run
$ npm install
$ gulp- Will watch changes to
app.jsusing browserify and watchify - It will start serving
./index.htmlusing browser-sync - It will create the compiled files in
./dist. - The compiled file contain sourcemaps (
app-dev.jsandapp-dev.js.map) - If any files are changed, they are reloaded using browser-sync.
$ gulp build- This will create the compiled files and put it under
./dist. - It includes the sourcemaps (
app.jsandapp.js.map) - Does the same as what watch does
$ gulp minify- Will minify the files and put it in
./dist. Also includes sourcemaps.
$ gulp psi- Runs the pagespeed insights using ngrok
- Add LESS/SASS support and minification
- Add S3 deploy
- Improve asset management
- Support for different environments