diff --git a/package.json b/package.json index 878f5b2b..318ef62a 100644 --- a/package.json +++ b/package.json @@ -40,14 +40,14 @@ "map": false }, "scripts": { - "compile:css": "node-sass --source-map true sass/style.scss style.css && node-sass --source-map true sass/woocommerce.scss woocommerce.css && stylelint '*.css' --fix || true && stylelint '*.css' --fix", + "compile:css": "node-sass --source-map true sass/style.scss style.css && node-sass --source-map true sass/woocommerce.scss woocommerce.css", + "lint:css": "stylelint '*.css' --fix", "compile:rtl": "rtlcss style.css style-rtl.css", "lint:scss": "wp-scripts lint-style 'sass/**/*.scss'", "lint:js": "wp-scripts lint-js 'js/*.js'", "bundle": "node bin/bundle.js", - "build-task:scss-compile": "npm-run-all -p compile:*", - "build-task:autoprefixer": "postcss *.css --use autoprefixer --replace", - "sass:build": "npm-run-all -s build-task:scss-compile build-task:autoprefixer", + "postcss": "postcss *.css --use autoprefixer --replace", + "sass:build": "npm-run-all -s compile:css postcss", "sass:watch": "chokidar 'sass/**/*.scss' -c 'npm run sass:build'", "dev": "npm-run-all -p sass:*" }