Skip to content

Commit db77d0c

Browse files
committed
Merge pull request react-bootstrap#827 from AlexKVal/bowerJson2
Improve bower.json template.
2 parents fd31cbc + 7fb9bab commit db77d0c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tools/amd/bower.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
"react-bootstrap.js"
99
],
1010
"keywords": [
11-
"react",
12-
"react-component",
13-
"bootstrap"
11+
<%= _.map(pkg.keywords, function(keyword) { return '"' + keyword + '"' }).join(',\n ')%>
1412
],
1513
"ignore": [
1614
"**/.*"
1715
],
1816
"dependencies": {
19-
"react": ">= 0.13.0",
20-
"classnames": "^2.0.0"
17+
"classnames": "<%= pkg.dependencies.classnames %>",
18+
"react": "<%= pkg.peerDependencies.react %>"
2119
}
2220
}

0 commit comments

Comments
 (0)