diff options
Diffstat (limited to 'npm')
| -rw-r--r-- | npm/npmrc | 17 |
1 files changed, 17 insertions, 0 deletions
| @@ -1,11 +1,28 @@ | |||
| 1 | ; ~/.npmrc | ||
| 2 | |||
| 3 | ; default registry | ||
| 4 | registry=https://registry.npmjs.org/ | ||
| 5 | |||
| 1 | ; local packages: "npm install -g foo-bar" | 6 | ; local packages: "npm install -g foo-bar" |
| 2 | prefix=${HOME}/.local | 7 | prefix=${HOME}/.local |
| 3 | 8 | ||
| 4 | ; disable fund-spam | 9 | ; disable fund-spam |
| 5 | fund=false | 10 | fund=false |
| 6 | 11 | ||
| 12 | ; suppresses notifications about new npm versions | ||
| 13 | update-notifier=false | ||
| 14 | |||
| 7 | ; reduce the attack surface for supply chain attacks | 15 | ; reduce the attack surface for supply chain attacks |
| 8 | min-release-age=3 | 16 | min-release-age=3 |
| 9 | 17 | ||
| 10 | ; disable pre- und post-scripts | 18 | ; disable pre- und post-scripts |
| 11 | ignore-scripts=true | 19 | ignore-scripts=true |
| 20 | |||
| 21 | ; make sure to enable security checks | ||
| 22 | audit=true | ||
| 23 | |||
| 24 | ; adjust log level | ||
| 25 | loglevel=notice | ||
| 26 | |||
| 27 | |||
| 28 | ; vim: ft=dosini | ||
