Home Automation utilizing: Gulp, Bower, Angular and UI Bootstrap
https://silvertalon-verdant.herokuapp.com/#/
Protractor requires on JDK to be installed for the Selenium server to run.
Ubuntu:
$ sudo apt-get install openjdk-7-jdk
Install the required tools: gulp
, bower
$ npm install -g gulp bower
Install project tools:
$ npm install
These two tools are very helpful for managing updates of both NPM and Bower components
$ npm install -g npm-check-updates bower-update
gulp
orgulp build
to build an optimized version of your application in/dist
gulp serve
to launch a browser sync server on your source filesgulp serve:dist
to launch a server on your optimized applicationgulp wiredep
to fill bower dependencies in your.html
file(s)gulp test
to launch your unit tests with Karmagulp protractor
to launch your e2e tests with Protractorgulp protractor:dist
to launch your e2e tests with Protractor on the dist files
- useref : allow configuration of your files in comments of your HTML file
- ngAnnotate : convert simple injection to complete syntax to be minification proof
- uglify : optimize all your JavaScript
- csso : optimize all your CSS
- rev : add a hash in the file names to prevent browser cache problems
- watch : watch your source files and recompile them automatically
- jshint : JavaScript code linter
- imagemin : all your images will be optimized at build
- Unit test (karma) : out of the box unit test configuration with karma
- e2e test (protractor) : out of the box e2e test configuration with protractor
- browser sync : full-featured development web server with livereload and devices sync
- angular-templatecache : all HTML partials will be converted to JS to be bundled in the application
- Angular modules: animate, cookies, touch, sanitize
- Resource handler: ngResource
- Router: ngRoute
- UI Framework: UI Bootstrap
- CSS pre-processor: Sass with Node
MIT