mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 01:48:21 +01:00
f5e051855d
This adds the `engines` field to the `package.json` file for the three default themes with build processes in order to encourage consistent tooling for contributors. Some minor dependency updates for these themes are also included in this change. Props jorbin, joemcgill, swissspidy. See #59663. Built from https://develop.svn.wordpress.org/trunk@57213 git-svn-id: http://core.svn.wordpress.org/trunk@56719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"name": "twentynineteen",
|
|
"version": "2.7.0",
|
|
"description": "Default WP Theme",
|
|
"bugs": {
|
|
"url": "https://core.trac.wordpress.org/"
|
|
},
|
|
"homepage": "https://wordpress.org/themes/twentynineteen/",
|
|
"engines": {
|
|
"node": ">=20.10.0",
|
|
"npm": ">=10.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@wordpress/browserslist-config": "^5.31.0",
|
|
"autoprefixer": "^10.4.16",
|
|
"chokidar-cli": "^3.0.0",
|
|
"node-sass": "^9.0.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.4.32",
|
|
"postcss-cli": "^11.0.0",
|
|
"postcss-focus-within": "^8.0.1",
|
|
"rtlcss": "^4.1.1"
|
|
},
|
|
"rtlcssConfig": {
|
|
"options": {
|
|
"autoRename": false,
|
|
"autoRenameStrict": false,
|
|
"clean": true,
|
|
"greedy": false,
|
|
"processUrls": false,
|
|
"stringMap": [],
|
|
"disablePolyfillReadyClass": true
|
|
},
|
|
"plugins": [],
|
|
"map": false
|
|
},
|
|
"browserslist": [
|
|
"extends @wordpress/browserslist-config"
|
|
],
|
|
"scripts": {
|
|
"build:style": "node-sass style.scss style.css --output-style expanded && postcss -r style.css",
|
|
"build:style-editor": "node-sass style-editor.scss style-editor.css --output-style expanded && postcss -r style-editor.css",
|
|
"build:style-editor-customizer": "node-sass style-editor-customizer.scss style-editor-customizer.css --output-style expanded && postcss -r style-editor-customizer.css",
|
|
"build:rtl": "rtlcss style.css style-rtl.css",
|
|
"build:print": "node-sass print.scss print.css --output-style expanded && postcss -r print.css",
|
|
"build": "run-p \"build:*\"",
|
|
"watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial"
|
|
}
|
|
}
|