Skip to content

Commit 7b4d652

Browse files
committed
Add Prettier
1 parent bb627c3 commit 7b4d652

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"jsnext:main": "components/index.es.js",
88
"scripts": {
99
"build": "rollup -c",
10-
"test": "echo \"Error: no test specified\" && exit 1"
10+
"test": "npm run prettier",
11+
"fix": "npm run prettier -- --write",
12+
"prettier": "prettier \"src/**/*.{ts,tsx}\" --check"
1113
},
1214
"files": [
1315
"components"

0 commit comments

Comments
 (0)