Skip to content

Commit 4231ab2

Browse files
posgarouajoslin
authored andcommitted
Move angular from devDependencies to dependencies (#67)
Not sure what the minimum supported angular is, but it should be listed in bower.json. This is useful with libraries that analyze bower.json, e.g. [main-bower-files](https://github.com/ck86/main-bower-files). (To use main-bower-files with angular-promise-tracker, it's currently necessary to put in a manual override inside your own project's bower.json for angular-promise-tracker's dependency on angular: otherwise, it will load this package before angular.)
1 parent d317225 commit 4231ab2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bower.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
"promise-tracker.js",
2626
"promise-tracker-http-interceptor.js"
2727
],
28+
"dependencies": {
29+
"angular": ">=1.3.0"
30+
},
2831
"devDependencies": {
29-
"angular": "1.3.x",
3032
"angular-mocks": "1.3.x",
3133
"angular-resource": "1.3.x"
3234
}

0 commit comments

Comments
 (0)