Skip to content
Merged
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
12 changes: 12 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# npm security best practices
# Source: https://github.com/lirantal/npm-security-best-practices

# NOTE: scripts must run for better-sqlite3 - cannot block postinstall globally
ignore-scripts=false

# SECURITY: reject git-source dependencies (git+ssh:// etc)
allow-git=none

# SECURITY: block packages newer than 5 days
# not recognized by npm just yet; use pnpm-workspace.yaml!
# min-release-age=5