Skip to content

Instantly share code, notes, and snippets.

@rot26
Last active July 17, 2018 04:09
Show Gist options
  • Save rot26/8924af3a363e37d503f00e5473018395 to your computer and use it in GitHub Desktop.
Save rot26/8924af3a363e37d503f00e5473018395 to your computer and use it in GitHub Desktop.
default npmrc
# Default npm flag settings
# Put this `.npmrc` file in your npm project root next to `package.json`
# Always save packages that get installed to avoid "missing dependencies"
save = true
# Always save the EXACT version that you ran and installed.
# upgrade to latest version on each new version (put `npm outdated` in your CI)
# `npm outdated && yarn upgrade --latest && npm outdated`
save-exact = true
# Do not tag commit on `npm version`
# I prefer to do this manually with release notes
git-tag-version = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment