forked from mirror/_s
'fix' scripts
This commit is contained in:
parent
92a82a32f7
commit
394e690218
|
@ -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:*"
|
||||
}
|
||||
|
|
Reference in New Issue