Skip to content

Commit de76bf4

Browse files
committed
Add prettier script
1 parent 445686c commit de76bf4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"lint": "eslint sample/ src/ test/ --ext .jsx,.js",
1515
"postinstall": "husky install",
1616
"prepack": "yarn clean && yarn build",
17-
"test": "yarn lint && yarn jest"
17+
"prettier": "prettier --check .",
18+
"test": "yarn lint && yarn prettier && yarn jest"
1819
},
1920
"keywords": [
2021
"calendar",

0 commit comments

Comments
 (0)