mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Fix node version & lock down npm version
The intention behind the version of node in the engines property was for that version to be the minimum required so it was always missing the `>=` prefix. This adds that prefix and also adds a setting for npm, to prevent use of insecure versions. See this article for details: https://github.blog/2021-09-08-github-security-update-vulnerabilities-tar-npmcli-arborist/
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
"version": "0.0.1",
|
||||
"description": "Admin front end for GOV.UK Notify",
|
||||
"engines": {
|
||||
"node": "10.15.3"
|
||||
"node": ">=10.15.3",
|
||||
"npm": "6.14.15 || >= 7.21.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "gulp lint && jest --config tests/javascripts/jest.config.js tests/javascripts",
|
||||
|
||||
Reference in New Issue
Block a user