From b346406f3aa407869a3c868fb14322fc529673a3 Mon Sep 17 00:00:00 2001 From: Derick Montague Date: Thu, 26 Mar 2020 16:04:24 -0500 Subject: 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 Change-Id: I564527c4d9a3946f4c7f08338f1d7ec111d9eb20 --- .npmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .npmrc (limited to '.npmrc') 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 -- cgit v1.2.3