summaryrefslogtreecommitdiff
path: root/.npmrc
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2020-03-27 00:04:24 +0300
committerDerick Montague <derick.montague@ibm.com>2020-04-08 17:18:09 +0300
commitb346406f3aa407869a3c868fb14322fc529673a3 (patch)
tree4e2db912a4cb92ae0ccb23c5d4b2de7ea430f21c /.npmrc
parent98059c92dfc1b6f30ffbe02f4ae01e7cba30f8e9 (diff)
downloadwebui-vue-b346406f3aa407869a3c868fb14322fc529673a3.tar.xz
Add engines object to package.json
- Add node-check-version to be called on serve and build scripts to warn user that the correct version of node is not running - Run npm audit fix to resolve 1532 vulnerabilities - Add .npmrc file that will adds new npm packages as the exact version. This settings assures that the ^ is not used when adding the package to the packacge.json file. This is to assure that we are running the correct version of node that will not update the package-lock.json file when installing new packages. We are using lts/erbium version of node that is 12.16.1 allowing any patch version beyond .1. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I564527c4d9a3946f4c7f08338f1d7ec111d9eb20
Diffstat (limited to '.npmrc')
-rw-r--r--.npmrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.npmrc b/.npmrc
new file mode 100644
index 00000000..449691b7
--- /dev/null
+++ b/.npmrc
@@ -0,0 +1 @@
+save-exact=true \ No newline at end of file