Build tools: add check-node-version
to check required Node.js and npm versions are installed.
Props netweb. Fixes #44246. git-svn-id: https://develop.svn.wordpress.org/trunk@43321 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f26fe4ea9c
commit
338e951cec
4026
package-lock.json
generated
4026
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -14,6 +14,7 @@
|
||||
"license": "GPL-2.0-or-later",
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^6.5.1",
|
||||
"check-node-version": "3.2.0",
|
||||
"grunt": "~0.4.5",
|
||||
"grunt-banner": "^0.6.0",
|
||||
"grunt-contrib-clean": "~1.0.0",
|
||||
@ -54,5 +55,8 @@
|
||||
"masonry-layout": "3.3.2",
|
||||
"twemoji": "2.5.1",
|
||||
"underscore": "1.8.3"
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "check-node-version --node '>= 8.9.3' --npm '>= 6.1.0'"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user