Skip to content

Instantly share code, notes, and snippets.

@matthewblewitt
Created November 29, 2018 12:00
Show Gist options
  • Select an option

  • Save matthewblewitt/95f467ce99498281c645bcceb83c7f00 to your computer and use it in GitHub Desktop.

Select an option

Save matthewblewitt/95f467ce99498281c645bcceb83c7f00 to your computer and use it in GitHub Desktop.
npm checklist
  1. Always use latest npm via npm install -g npm@latest
  2. Make distinction between dependencies and devDependencies
  3. Use reproducible builds via npm ci (requires lockfiles on all projects)
  4. Exclude devDependencies from production builds using npm ci --production
  5. Regularly review npm audit reports and make production issues a release blocker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment