Blame view

node_modules/bower/lib/templates/json/help-install.json 1.89 KB
2dda2e10   Administrator   generator ignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
  {
      "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"
          }
      ]
  }