chore: Add engines field

This commit is contained in:
peaceiris 2020-01-29 11:03:45 +09:00
parent 8eef9fcb44
commit aeba6547bb
2 changed files with 5 additions and 0 deletions

1
.npmrc Normal file
View file

@ -0,0 +1 @@
engine-strict=true

View file

@ -3,6 +3,10 @@
"version": "2.4.4", "version": "2.4.4",
"description": "GitHub Actions for Hugo", "description": "GitHub Actions for Hugo",
"main": "lib/index.js", "main": "lib/index.js",
"engines": {
"node": ">=12.14.1",
"npm": ">=6.13.7"
},
"scripts": { "scripts": {
"lint": "eslint ./{src,__tests__}/**/*.ts", "lint": "eslint ./{src,__tests__}/**/*.ts",
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts", "lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",