mirror of
https://github.com/bower/bower.git
synced 2026-01-14 16:57:57 -05:00
It's because people are depending on internals of bower, like "bower/lib/renderers/StandardRenderer" Instead we move templates and bin to lib directory and leave paths intact. Additionally we alias bin/bower to lib/bin/bower.
46 lines
1.9 KiB
JSON
46 lines
1.9 KiB
JSON
{
|
|
"command": "install",
|
|
"description": "Installs the project dependencies or a specific set of endpoints.\nEndpoints can have multiple forms:\n- <source>\n- <source>#<target>\n- <name>=<source>#<target>\n\nWhere:\n- <source> is a package URL, physical location or registry name\n- <target> is a valid range, commit, branch, etc.\n- <name> is the name it should have locally.",
|
|
"usage": [
|
|
"install [<options>]",
|
|
"install <endpoint> [<endpoint> ..] [<options>]"
|
|
],
|
|
"options": [
|
|
{
|
|
"shorthand": "-F",
|
|
"flag": "--force-latest",
|
|
"description": "Force latest version on conflict"
|
|
},
|
|
{
|
|
"shorthand": "-f",
|
|
"flag": "--force",
|
|
"description": "If dependencies are installed, it reinstalls all installed components. It also forces installation even when there are non-bower directories with the same name in the components directory. Also bypasses the cache and overwrites to the cache anyway."
|
|
},
|
|
{
|
|
"shorthand": "-h",
|
|
"flag": "--help",
|
|
"description": "Show this help message"
|
|
},
|
|
{
|
|
"shorthand": "-p",
|
|
"flag": "--production",
|
|
"description": "Do not install project devDependencies"
|
|
},
|
|
{
|
|
"shorthand": "-S",
|
|
"flag": "--save",
|
|
"description": "Save installed packages into the project's bower.json dependencies"
|
|
},
|
|
{
|
|
"shorthand": "-D",
|
|
"flag": "--save-dev",
|
|
"description": "Save installed packages into the project's bower.json devDependencies"
|
|
},
|
|
{
|
|
"shorthand": "-E",
|
|
"flag": "--save-exact",
|
|
"description": "Configure installed packages with an exact version rather than semver"
|
|
}
|
|
]
|
|
}
|