|
@@ -10,6 +10,7 @@
|
|
"@wordpress/browserslist-config": "^2.2.2",
|
|
"@wordpress/browserslist-config": "^2.2.2",
|
|
"autoprefixer": "^9.5.1",
|
|
"autoprefixer": "^9.5.1",
|
|
"chokidar-cli": "^2.1.0",
|
|
"chokidar-cli": "^2.1.0",
|
|
|
|
+ "clean-css-cli": "^4.3.0",
|
|
"minimist": "^1.2.2",
|
|
"minimist": "^1.2.2",
|
|
"node-sass": "^4.13.1",
|
|
"node-sass": "^4.13.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"npm-run-all": "^4.1.5",
|
|
@@ -47,10 +48,12 @@
|
|
"build:print": "node-sass assets/sass/print.scss assets/css/print.css --output-style expanded --indent-type tab --indent-width 1 --source-map true",
|
|
"build:print": "node-sass assets/sass/print.scss assets/css/print.css --output-style expanded --indent-type tab --indent-width 1 --source-map true",
|
|
"build:ie": "postcss style.css -o assets/css/ie.css",
|
|
"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:ie-editor": "postcss assets/css/style-editor.css -o assets/css/ie-editor.css",
|
|
- "build:compress-style": "node-sass assets/sass/style.scss style.css --output-style compressed --indent-type tab --indent-width 1 --source-map true",
|
|
|
|
- "build:compress-style-editor": "node-sass assets/sass/style-editor.scss assets/css/style-editor.css --output-style expanded --indent-type tab --indent-width 1 --source-map true",
|
|
|
|
- "build:compress-woocommerce": "node-sass assets/sass/style-woocommerce.scss assets/css/style-woocommerce.css --output-style expanded --indent-type tab --indent-width 1 --source-map true",
|
|
|
|
- "build:compress-print": "node-sass assets/sass/print.scss assets/css/print.css --output-style expanded --indent-type tab --indent-width 1 --source-map true",
|
|
|
|
|
|
+ "build:compress-style": "cleancss -o style.css style.css",
|
|
|
|
+ "build:compress-style-rtl": "cleancss -o style-rtl.css style-rtl.css",
|
|
|
|
+ "build:compress-style-editor": "cleancss -o assets/css/style-editor.css assets/css/style-editor.css",
|
|
|
|
+ "build:compress-woocommerce": "cleancss -o assets/css/style-woocommerce.css assets/css/style-woocommerce.css",
|
|
|
|
+ "build:compress-woocommerce-rtl": "cleancss -o assets/css/style-woocommerce-rtl.css assets/css/style-woocommerce-rtl.css",
|
|
|
|
+ "build:compress-print": "cleancss -o assets/css/print.css assets/css/print.css",
|
|
"build": "run-s \"build:*\"",
|
|
"build": "run-s \"build:*\"",
|
|
"watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
|
|
"watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
|
|
"child-theme": "sh ../theme-dev-utils/build-child-theme.sh"
|
|
"child-theme": "sh ../theme-dev-utils/build-child-theme.sh"
|