From aeba6547bbb28e39b29e7d03f6978c80d6c09931 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Wed, 29 Jan 2020 11:03:45 +0900 Subject: [PATCH] chore: Add engines field --- .npmrc | 1 + package.json | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..b6f27f1 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/package.json b/package.json index 6cd017b..4fe73ca 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,10 @@ "version": "2.4.4", "description": "GitHub Actions for Hugo", "main": "lib/index.js", + "engines": { + "node": ">=12.14.1", + "npm": ">=6.13.7" + }, "scripts": { "lint": "eslint ./{src,__tests__}/**/*.ts", "lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",