Skip to content

Commit 7fb9bab

Browse files
committed
Improve bower.json template.
1 parent beb5142 commit 7fb9bab

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

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)