Skip to content

steelkiwi/angular1-boilerplate

Repository files navigation

Angular 1.x boilerplate

Gulp Angular 1.5 Bootstrap Webpack BrowserSync Babel ES6 ESLint Less Autoprefixer Protractor Jasmine Karma

Features:

Instalation

  • install node if it not installed. For linux or for mac and npm
  • npm install gulpjs/gulp-cli -g for installing gulp-cli 4 if it not installed
  • npm i - install all dependencies

Usage

If you have gulp-cli installed in global packages you can use gulp commands else use npm commands:

  • gulp, gulp build or npm run build to build an optimized version of your application in /dist
  • gulp serve or npm run serve to launch a browser sync server on your source files
  • gulp serve:dist or npm run serve:dist to launch a server on your optimized application
  • gulp test or npm run test to launch your unit tests with Karma
  • gulp test:auto or npm run test:auto to launch your unit tests with Karma in watch mode

Style-guides