Enhance Gulp dependency compilation

Gulp automatically grabs all of the dependencies listed as main files in
`bower.json` except for jQuery and modernizr

Deletes plugin directory, bad development pattern. Doesn't make sense
with the existence of `vendor` directory anyway.

Concat all of the js in the js directory except vendor and compiled
files
This commit is contained in:
Austin Pray
2014-09-11 23:04:29 -05:00
parent 45a00cec0e
commit 6e0e036ae7
4 changed files with 31 additions and 17 deletions

View File

@@ -17,5 +17,23 @@
"jquery": "1.11.1",
"bootstrap": "3.2.0",
"respond": "1.4.2"
},
"overrides": {
"bootstrap": {
"main": [
"./js/transition.js",
"./js/alert.js",
"./js/button.js",
"./js/carousel.js",
"./js/collapse.js",
"./js/dropdown.js",
"./js/modal.js",
"./js/tooltip.js",
"./js/popover.js",
"./js/scrollspy.js",
"./js/tab.js",
"./js/affix.js"
]
}
}
}