Added support for bower
At this moment this package not have support for bower, but if you try: "bower info Nestable" you can get a little information about, but if you using grunt not can inject automatically the JS file.
Please, please, please, merge it!
@MilanPala you can overwrite the grunt wiredep and not depend the package more:
// Automatically inject Bower components into the HTML file
wiredep: {
app: {
ignorePath: /^\/|(\.\.\/){1,3}/,
src: ['<%= config.app %>/templates/layouts/master.hbs'],
exclude: [
'bower_components/bootstrap/dist',
'bower_components/bootstrap-datepicker/css/datepicker.css',
'bower_components/fontawesome/css/font-awesome.css',
'bower_components/toastr/toastr.css',
'bower_components/rv-jquery-fontsize/css/base.css',
'bower_components/rv-jquery-fontsize/css/rvfs.css'
],
devDependencies: true,
overrides: {
'jQuery-Mask-Plugin': {
main: 'jquery.mask.js'
},
'parsleyjs': {
main: [
'./dist/parsley.js',
'./src/i18n/pt-br.js'
]
},
'summernote': {
main: [
'./dist/summernote.js',
'./lang/summernote-pt-BR.js',
'./dist/summernote.css'
]
},
'bootstrap-datepicker': {
main: [
'./js/bootstrap-datepicker.js',
'./js/locales/bootstrap-datepicker.pt-BR.js',
'./css/datepicker3.css'
]
}
}
},
sass: {
src: ['<%= config.app %>/styles/{,*/}*.{scss,sass}'],
ignorePath: /(\.\.\/){1,2}bower_components\//
}
},
Waiting for merge :+1:
I'd be great to have this pull request merged. We need support for bower...
@gyss, @brunowego @MilanPala there is active maintenance fork of this repository with support for bower. Check Nestable2