Skip to content

Commit 59f814a

Browse files
committed
Add prettier script
1 parent fcadff5 commit 59f814a

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
@@ -15,7 +15,8 @@
1515
"lint": "eslint src/ --ext .jsx,.js",
1616
"postinstall": "husky install",
1717
"prepack": "yarn clean && yarn build",
18-
"test": "yarn lint && yarn jest"
18+
"prettier": "prettier --check .",
19+
"test": "yarn lint && yarn prettier && yarn jest"
1920
},
2021
"keywords": [
2122
"array",

0 commit comments

Comments
 (0)