Skip to content

Commit f01c739

Browse files
committed
build: fix prettier script to apply to scss as well, and run it
1 parent 2cd371c commit f01c739

File tree

5 files changed

+319
-307
lines changed

5 files changed

+319
-307
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"clean:demo": "rimraf build",
1010
"start": "cross-env NODE_ENV=development TARGET=development webpack-dev-server --inline --hot",
1111
"lint": "eslint src examples",
12-
"prettier": "prettier --single-quote --trailing-comma es5 --write \"{src,examples}/**/*.js\"",
12+
"prettier": "prettier --single-quote --trailing-comma es5 --write \"{src,examples}/**/*.{js,scss}\"",
1313
"prepublishOnly": "npm run lint && npm run test && npm run build",
1414
"test": "jest",
1515
"test:watch": "jest --watchAll",

0 commit comments

Comments
 (0)