Skip to content
Open

Nprmc #182

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# npm security best practices
# Source: https://github.com/lirantal/npm-security-best-practices

# Do not run any lifecycle hook scripts such as postinstall for packages
ignore-scripts=true
Comment on lines +4 to +5

# Do not allow Git / GitHub related sources for packages
allow-git=none

# Require at least 30 days since package release
min-release-age=30

# Require strict npm version to comply with the security policies in this file
engine-strict=true
Comment on lines +13 to +14
Loading