Add engines.node
This commit is contained in:
parent
dc127dd062
commit
980f194968
2 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- `.node-version` file for nodenv
|
- `.node-version` file for nodenv
|
||||||
|
- Added `engines.node` field to `package.json`
|
||||||
|
- this is required to ensure the correct environment for builds
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|
|
@ -24,5 +24,8 @@
|
||||||
"pug": "^3.0.1",
|
"pug": "^3.0.1",
|
||||||
"sass": "^1.26.11",
|
"sass": "^1.26.11",
|
||||||
"sirv-cli": "^1.0.10"
|
"sirv-cli": "^1.0.10"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue