Add SASS compilation and sync the CSS files
This commit is contained in:
parent
f5248e18ef
commit
b07e5d3682
15 changed files with 226 additions and 238 deletions
|
@ -17,10 +17,12 @@
|
|||
"url": "https://github.com/Automattic/_s/issues"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@wordpress/scripts": "^7.2.0"
|
||||
"node-sass": "^4.13.1",
|
||||
"@wordpress/scripts": "^7.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"lint:scss": "wp-scripts lint-style 'sass/**/*.scss'",
|
||||
"lint:js": "wp-scripts lint-js 'js/*.js'"
|
||||
"compile:css": "node-sass sass/style.scss style.css && node-sass sass/woocommerce.scss woocommerce.css && stylelint '*.css' --fix || true && stylelint '*.css' --fix",
|
||||
"lint:scss": "wp-scripts lint-style 'sass/**/*.scss'",
|
||||
"lint:js": "wp-scripts lint-js 'js/*.js'"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue