'fix' scripts

This commit is contained in:
Ray Elliott 2020-05-08 10:10:15 +00:00
parent 92a82a32f7
commit 394e690218
1 changed files with 4 additions and 4 deletions

View File

@ -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:*"
}