forked from mirror/_s
'fix' scripts
This commit is contained in:
parent
92a82a32f7
commit
394e690218
|
@ -40,14 +40,14 @@
|
||||||
"map": false
|
"map": false
|
||||||
},
|
},
|
||||||
"scripts": {
|
"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",
|
"compile:rtl": "rtlcss style.css style-rtl.css",
|
||||||
"lint:scss": "wp-scripts lint-style 'sass/**/*.scss'",
|
"lint:scss": "wp-scripts lint-style 'sass/**/*.scss'",
|
||||||
"lint:js": "wp-scripts lint-js 'js/*.js'",
|
"lint:js": "wp-scripts lint-js 'js/*.js'",
|
||||||
"bundle": "node bin/bundle.js",
|
"bundle": "node bin/bundle.js",
|
||||||
"build-task:scss-compile": "npm-run-all -p compile:*",
|
"postcss": "postcss *.css --use autoprefixer --replace",
|
||||||
"build-task:autoprefixer": "postcss *.css --use autoprefixer --replace",
|
"sass:build": "npm-run-all -s compile:css postcss",
|
||||||
"sass:build": "npm-run-all -s build-task:scss-compile build-task:autoprefixer",
|
|
||||||
"sass:watch": "chokidar 'sass/**/*.scss' -c 'npm run sass:build'",
|
"sass:watch": "chokidar 'sass/**/*.scss' -c 'npm run sass:build'",
|
||||||
"dev": "npm-run-all -p sass:*"
|
"dev": "npm-run-all -p sass:*"
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue