A web starter kit using build tools and NPM scripts.
- Node.js
-
Install Node modules:
npm install
-
Choose from the following commands to run the required tools
-
Build CSS and JavaScript and watch for any changes:
npm run build:watch
- Watch JavaScript files, Lint JavaScript, bundle with Browserify and Minifyify Javascript:
npm run build:js
- Watch Sass files, compile Sass to CSS, autoprefix and minify css:
npm run build:sass
- Watch JavaScript files, Lint JavaScript, bundle with Browserify and Minifyify Javascript:
-
Build sprite svg and Sass:
npm run sprite
-
Lint JavaScript
npm run lint
-
Reload pages when changes are saved (use new terminal window):
npm run livereload
Licensed under the MIT license.