Skip to content

Commit e8f087e

Browse files
committed
chore: a format npm script
1 parent 0ea1362 commit e8f087e

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
@@ -36,7 +36,8 @@
3636
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
3737
"test:watch": "react-scripts test --env=jsdom",
3838
"release": "npm run test && npm run prepare && dotenv release-it",
39-
"lint": "eslint . --ext .js,.ts,.tsx"
39+
"lint": "eslint . --ext .js,.ts,.tsx",
40+
"format": "prettier --write {src,playground}"
4041
},
4142
"peerDependencies": {
4243
"react": ">=16.0.0",

0 commit comments

Comments
 (0)