Merge pull request #406 in FS/freeswitch from ~JMESQUITA/freeswitch:feature/FS-8013-user-bower-to-install-javacript-dependencies to master

* commit '22658c79459926590a6b041812a23137fbd8a7c1':
  FS-8013 #resolve Make use of bower to manage dependencies and use wiredep to inject them on the main index.html file.
This commit is contained in:
Ítalo Rossi
2015-08-21 12:38:06 -05:00
68 changed files with 110 additions and 145147 deletions

View File

@@ -26,12 +26,19 @@ module.exports = function (grunt) {
livereload: true
},
files: [
'index.html',
'partials/{,*/}*.html',
'js/{,*/}*.js',
'images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
]
}
},
wiredep: {
app: {
src: ['index.html'],
ignorePath: /\.\.\//
}
},
connect: {
options: {
port: 9001,
@@ -57,5 +64,5 @@ module.exports = function (grunt) {
},
});
grunt.registerTask('serve', ['connect:livereload', 'watch']);
grunt.registerTask('serve', ['wiredep', 'connect:livereload', 'watch']);
};