Skip to content

Commit 1833699

Browse files
committed
chore: add some customizations for npm.
Don't run an audit and check for updates automatically. Also dependencies are now added with a correct version range (only patch updates are allowed). [skip ci]
1 parent d03470f commit 1833699

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/main/frontend/.npmrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Don't send audit report during npm install
2+
# See https://docs.npmjs.com/misc/config#audit
3+
audit = false
4+
5+
# Don't check npm for updates
6+
# See https://docs.npmjs.com/misc/config#update-notifier
7+
update-notifier = false
8+
9+
# Allow only patch upgrade for dependencies installed with --save/--save-dev
10+
# See https://docs.npmjs.com/misc/config#save-prefix
11+
save-prefix = ~

0 commit comments

Comments
 (0)