Add engines.node

This commit is contained in:
Nikita Karamov 2021-03-03 14:16:45 +01:00
parent dc127dd062
commit 980f194968
No known key found for this signature in database
GPG key ID: EA4E7DECEEA050E4
2 changed files with 5 additions and 0 deletions

View file

@ -9,6 +9,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Added
- `.node-version` file for nodenv
- Added `engines.node` field to `package.json`
- this is required to ensure the correct environment for builds
### Security

View file

@ -24,5 +24,8 @@
"pug": "^3.0.1",
"sass": "^1.26.11",
"sirv-cli": "^1.0.10"
},
"engines": {
"node": "^12"
}
}