mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-18 00:25:37 +01:00
80b78b077d
This updates several NPM dependencies to their latest (or latest allowed) versions for bundled themes that have a `package.json` file (Twenty Nineteen and newer). These updates did not result in any changes to the built files in Twenty Nineteen or Twenty Twenty. Some unnecessary parenthesis have been removed from `calc()` function calls within Twenty Twenty-One. This change also contains several updates to the `package-lock.json` files made by running `npm audit fix` within each of these themes. See #53361. Built from https://develop.svn.wordpress.org/trunk@52047 git-svn-id: http://core.svn.wordpress.org/trunk@51639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
56 lines
1.9 KiB
JSON
56 lines
1.9 KiB
JSON
{
|
|
"name": "twentytwenty",
|
|
"version": "1.8.0",
|
|
"description": "Default WP Theme",
|
|
"author": "The WordPress Contributors",
|
|
"license": "GPL-2.0-or-later",
|
|
"keywords": [
|
|
"WordPress",
|
|
"Theme",
|
|
"TwentyTwenty"
|
|
],
|
|
"homepage": "https://wordpress.org/themes/twentytwenty/",
|
|
"bugs": {
|
|
"url": "https://core.trac.wordpress.org/"
|
|
},
|
|
"devDependencies": {
|
|
"@wordpress/browserslist-config": "^4.0.1",
|
|
"@wordpress/scripts": "^16.1.2",
|
|
"autoprefixer": "^10.4.0",
|
|
"concurrently": "^6.3.0",
|
|
"postcss-cli": "^9.0.2",
|
|
"postcss": "^8.3.11",
|
|
"rtlcss": "^3.5.0",
|
|
"stylelint-a11y": "^1.2.3"
|
|
},
|
|
"browserslist": [
|
|
"extends @wordpress/browserslist-config"
|
|
],
|
|
"rtlcssConfig": {
|
|
"options": {
|
|
"autoRename": false,
|
|
"autoRenameStrict": false,
|
|
"clean": true,
|
|
"greedy": false,
|
|
"processUrls": false,
|
|
"stringMap": []
|
|
},
|
|
"plugins": [],
|
|
"map": false
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build:vendor-prefixes && npm run build:rtl",
|
|
"build:rtl": "concurrently \"npm run build:rtl-style\" \"npm run build:rtl-esb\" \"npm run build:rtl-esc\"",
|
|
"build:rtl-style": "rtlcss style.css style-rtl.css",
|
|
"build:rtl-esb": "rtlcss assets/css/editor-style-block.css assets/css/editor-style-block-rtl.css",
|
|
"build:rtl-esc": "rtlcss assets/css/editor-style-classic.css assets/css/editor-style-classic-rtl.css",
|
|
"build:vendor-prefixes": "concurrently \"npm run build:vendor-prefixes-style\" \"npm run build:vendor-prefixes-esb\" \"npm run build:vendor-prefixes-esc\"",
|
|
"build:vendor-prefixes-style": "postcss -r --no-map style.css assets/css/editor-style-block.css assets/css/editor-style-classic.css",
|
|
"build:vendor-prefixes-esb": "postcss -r --no-map assets/css/editor-style-block.css ",
|
|
"build:vendor-prefixes-esc": "postcss -r --no-map assets/css/editor-style-classic.css",
|
|
"lint:css": "wp-scripts lint-style 'style.css' 'assets/**/*.css'",
|
|
"lint:js": "wp-scripts lint-js 'assets/**/*.js'",
|
|
"lint:pkg-json": "wp-scripts lint-pkg-json"
|
|
}
|
|
}
|