60 lines
2.0 KiB
JSON
60 lines
2.0 KiB
JSON
{
|
|
"name": "twentytwenty",
|
|
"version": "1.7.0",
|
|
"description": "Default WP Theme",
|
|
"author": "The WordPress Contributors",
|
|
"license": "GPL-2.0-or-later",
|
|
"keywords": [
|
|
"WordPress",
|
|
"Theme",
|
|
"TwentyTwenty"
|
|
],
|
|
"homepage": "https://github.com/wordpress/twentytwenty#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/wordpress/twentytwenty.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/wordpress/twentytwenty/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@wordpress/browserslist-config": "^3.0.2",
|
|
"@wordpress/scripts": "^14.1.0",
|
|
"autoprefixer": "^9.8.6",
|
|
"concurrently": "^6.0.1",
|
|
"postcss-cli": "^8.3.1",
|
|
"postcss": "^8.2.9",
|
|
"rtlcss": "^3.1.2",
|
|
"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"
|
|
}
|
|
}
|