You can choose to use with Yeoman or you can dowload it.
More about Yeoman here
- Download this repository and start developing your web app/site inside the
publicfolder. - Install dependencies running
npm installinside the project folder. - Run
gulp servein your terminal to start the web server with live-reloading.
- Write yours tests in the
testfolder using the Jasmine framework. - Run
gulp test:unitto start yours unit tests using the Karma Runner.
No problem, feel free to edit the build/sources.js file with the folder structure you like following the API below:
- dist (string): this is the path for the root folder for production.
- dist_src (string): this is the path for the sources (
.js,.css...) folder for production. - scripts (object): everything related to scripts files (
.js...):- main (string): this is the path of the main file used with browserify;
- all (string/array): this the path(s) for all the
.jsfiles; - main_dist (string): this is the output file generated from browserify.
- styles (object): everything related to styles files (
.css,.scss...):- all: (string/array): this the path(s) for all the
.css,.scss... files;
- all: (string/array): this the path(s) for all the
- templates (object): everything related to templates files (
.html):- all: (string/array): this the path(s) for all the
.htmlfiles;
- all: (string/array): this the path(s) for all the
If you need to add, remove or edit any tasks from the default gulpfile, you can edit all the files you want inside the build folder.
For example, if you want to add Sass in your process you can edit the gulp-styles.js file with the respective configuration.


