bootstrap
bootstrap copied to clipboard
Rename component.json to bower.json
Bower 0.9 has deprecated component.json in favor of bower.json.
in the mean time i would love to get rid of the doc folder and other config files when installing bootstrap as package.
Something like this :
{
"name": "bootstrap",
"version": "3.0.0",
"main": ["./docs/assets/js/bootstrap.js", "./docs/assets/css/bootstrap.css"],
"dependencies": {
"jquery": "~1.8.0"
}
"ignore": {
"docs",
"Makefile",
".travis.yml",
".editorconfigl",
"README.md",
"CONTRIBUTING.md",
"package.json"
}
}
You can use smth like this. It will load only the specific file
{
"dependencies": {
"jquery_1.9.1": "http://code.jquery.com/jquery-1.9.1.min.js"
}
}
this one should be in v3 when ready.
Fixed in #8050.