|
14 | 14 | "bugs": {
|
15 | 15 | "url": "https://github.com/WordPress/gutenberg/issues"
|
16 | 16 | },
|
| 17 | + "engines": { |
| 18 | + "node": ">=10.0.0", |
| 19 | + "npm": ">=6.9.0" |
| 20 | + }, |
17 | 21 | "config": {
|
18 | 22 | "GUTENBERG_PHASE": 2
|
19 | 23 | },
|
|
199 | 203 | },
|
200 | 204 | "scripts": {
|
201 | 205 | "analyze-bundles": "npm run build -- --webpack-bundle-analyzer",
|
202 |
| - "prebuild": "npm run check-engines", |
203 | 206 | "clean:packages": "rimraf \"./packages/*/@(build|build-module|build-style)\"",
|
204 | 207 | "clean:package-types": "tsc --build --clean",
|
205 | 208 | "prebuild:packages": "npm run clean:packages && lerna run build",
|
|
208 | 211 | "build:plugin-zip": "./bin/build-plugin-zip.sh",
|
209 | 212 | "build": "npm run build:packages && wp-scripts build",
|
210 | 213 | "changelog": "./bin/plugin/cli.js changelog",
|
211 |
| - "check-engines": "wp-scripts check-engines", |
212 | 214 | "check-licenses": "concurrently \"wp-scripts check-licenses --prod --gpl2 --ignore=@react-native-community/cli,@react-native-community/cli-platform-ios\" \"wp-scripts check-licenses --dev\"",
|
213 | 215 | "precheck-local-changes": "npm run docs:build",
|
214 | 216 | "check-local-changes": "( git diff -U0 | xargs -0 node bin/process-git-diff ) || ( echo \"There are local uncommitted changes after one or both of 'npm install' or 'npm run docs:build'!\" && exit 1 );",
|
215 |
| - "predev": "npm run check-engines", |
216 | 217 | "dev": "npm run build:packages && concurrently \"wp-scripts start\" \"npm run dev:packages\"",
|
217 | 218 | "dev:packages": "node ./bin/packages/watch.js",
|
218 | 219 | "docs:build": "node ./docs/tool/index.js && node ./bin/api-docs/update-api-docs.js",
|
|
0 commit comments