From 82a9268c3dcbb1e1f2b695525a133bb9be1dbab7 Mon Sep 17 00:00:00 2001 From: noogen Date: Sun, 12 Jun 2022 07:34:16 -0500 Subject: [PATCH] make node engine requirement issue #3 --- .npmrc | 2 ++ package.json | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..17826cc --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +# to display a helpful error message if an incompatible version is used, we enable the "engine-strict" setting +engine-strict=true diff --git a/package.json b/package.json index fb61432..16b137e 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,10 @@ "make-pot": "node ./bin/makepot.js && vue-gettext-extract", "compile-vue-translation": "vue-gettext-compile" }, + "engines" : { + "npm" : ">=8.0.0", + "node" : ">=17.0.0" + }, "browserslist": [ "> 1%", "last 2 versions",