Skip to content

Instantly share code, notes, and snippets.

@auxcoder
Created July 31, 2017 20:03
Show Gist options
  • Save auxcoder/c49f0f004c8633f2cae933736d508204 to your computer and use it in GitHub Desktop.
Save auxcoder/c49f0f004c8633f2cae933736d508204 to your computer and use it in GitHub Desktop.
Versions && prefixies meaning

When defining dependencies some prefixes are used.

"dependencies": {
  "a": "~1.0.6",
  "b": "^1.0.6",
  "b": "*"
}

Meaning

  • ~ "install the highest 1.0.x version"
  • ^ "install from the specified version"
  • * "any version"

More info Semver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment