mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-19 17:15:16 +01:00
4d35a8e4b4
This updates the NPM dependencies for the Twenty Twenty-One theme to the latest versions. Modifications to the built files are included in this commit, which are a result of updating the `sass` dependency to the latest version. Previously, trailing loud comments (`/* ... */`) were pushed to the next line,. Now the comment location is preserved, resulting in the built CSS files more closely resembling the theme’s SCSS files. See #55652. Built from https://develop.svn.wordpress.org/trunk@53761 git-svn-id: http://core.svn.wordpress.org/trunk@53320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
71 lines
2.4 KiB
JSON
71 lines
2.4 KiB
JSON
{
|
|
"name": "twentytwentyone",
|
|
"version": "1.6.0",
|
|
"description": "Default WP Theme",
|
|
"author": "The WordPress Contributors",
|
|
"license": "GPL-2.0-or-later",
|
|
"keywords": [
|
|
"WordPress",
|
|
"Theme"
|
|
],
|
|
"bugs": {
|
|
"url": "https://core.trac.wordpress.org/"
|
|
},
|
|
"homepage": "https://wordpress.org/themes/twentytwentyone/",
|
|
"devDependencies": {
|
|
"@wordpress/browserslist-config": "^4.1.2",
|
|
"@wordpress/eslint-plugin": "^9.3.0",
|
|
"@wordpress/stylelint-config": "^19.1.0",
|
|
"autoprefixer": "^10.4.7",
|
|
"chokidar-cli": "^3.0.0",
|
|
"eslint": "^8.20.0",
|
|
"minimist": "^1.2.6",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.4.14",
|
|
"postcss-calc": "^8.2.4",
|
|
"postcss-cli": "^10.0.0",
|
|
"postcss-css-variables": "^0.18.0",
|
|
"postcss-custom-media": "^8.0.2",
|
|
"postcss-discard-duplicates": "^5.1.0",
|
|
"postcss-focus-within": "^6.0.0",
|
|
"postcss-merge-rules": "^5.1.2",
|
|
"postcss-nested": "^5.0.6",
|
|
"rtlcss": "^3.5.0",
|
|
"sass": "^1.53.0",
|
|
"stylelint": "^13.13.1",
|
|
"stylelint-config-recommended-scss": "^5.0.2"
|
|
},
|
|
"rtlcssConfig": {
|
|
"options": {
|
|
"autoRename": false,
|
|
"autoRenameStrict": false,
|
|
"blacklist": {},
|
|
"clean": true,
|
|
"greedy": false,
|
|
"processUrls": false,
|
|
"stringMap": []
|
|
},
|
|
"plugins": [],
|
|
"map": false
|
|
},
|
|
"browserslist": [
|
|
"extends @wordpress/browserslist-config"
|
|
],
|
|
"scripts": {
|
|
"start": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
|
|
"build:style": "sass assets/sass/style.scss:style.css --style=expanded --source-map",
|
|
"build:style-editor": "sass assets/sass/style-editor.scss:assets/css/style-editor.css --style=expanded --source-map",
|
|
"build:style-dark-mode": "sass assets/sass/style-dark-mode.scss:assets/css/style-dark-mode.css --style=expanded --source-map",
|
|
"build:rtl": "rtlcss style.css style-rtl.css",
|
|
"build:dark-rtl": "rtlcss assets/css/style-dark-mode.css assets/css/style-dark-mode-rtl.css",
|
|
"build:print": "sass assets/sass/07-utilities/print.scss:assets/css/print.css --style=expanded --source-map",
|
|
"build:ie": "postcss style.css -o assets/css/ie.css",
|
|
"build:ie-editor": "postcss assets/css/style-editor.css -o assets/css/ie-editor.css",
|
|
"build:stylelint": "stylelint **/*.css --fix --config .stylelintrc-css.json",
|
|
"build": "run-s \"build:*\"",
|
|
"watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
|
|
"lint:scss": "stylelint **/*.scss",
|
|
"lint-fix:scss": "stylelint **/*.scss --fix"
|
|
}
|
|
}
|