ksa
Version:
Attempt at a browset package manager
41 lines (40 loc) • 1.56 kB
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": "-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 ksa.json dependencies"
},
{
"shorthand": "-D",
"flag": "--save-dev",
"description": "Save installed packages into the project's ksa.json devDependencies"
},
{
"shorthand": "-E",
"flag": "--save-exact",
"description": "Configure installed packages with an exact version rather than semver"
}
]
}