My Bower/Gulp settings

This is my Gulp.js workflow settings based on examples shown in this PluralSight course (I really recommend you to watch it). I am using these gulp plugins: main-bower-files for creating list of js files to be injected gulp-inject for injecting js/css files into index.html file When you install some library via bower you should do so with the –save option, so that it automatically updates the bower.json file. Like this bower install angular –save That will add following line to bower.json file: “dependencies”: { “angular”: “~1.4.8″ } Why do you need it? Because the main-bower-files plugin will then read this “dependencies” section and inject listed scripts …

Continue Reading