Skip to content

Instantly share code, notes, and snippets.

@mcbhenwood
Last active November 9, 2015 10:15
Show Gist options
  • Save mcbhenwood/ac09d07cf16e585c8396 to your computer and use it in GitHub Desktop.
Save mcbhenwood/ac09d07cf16e585c8396 to your computer and use it in GitHub Desktop.
How to specify dependencies manually within bower.json, in particular how to get jQuery to load before AngularJS.
"dependencies": {
"angular": "1.3.x",
"angular-bootstrap": "0.14.x",
"angular-resource": "1.3.x",
"angular-route": "1.3.x",
"bootstrap": "3.3.x",
"jquery": "2.1.1",
"moment": "^2.8.4",
"Chart.js": "2.0.0-alpha2"
},
"overrides": {
"angular": {
"dependencies": {
"jquery": "2.1.1"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment