Skip to content

Commit 34cb853

Browse files
committed
only format src/ and test/
1 parent fe580b6 commit 34cb853

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"build:browser": "browserify src/index.ts -s jstt -p tsify > dist/bundle.js",
1616
"build:server": "tsc -d",
1717
"clean": "shx rm -rf dist && mkdir dist",
18-
"format": "prettier \"**/*.ts\" --write",
19-
"format-check": "prettier \"**/*.ts\" --check",
18+
"format": "prettier \"{src,test}/*.ts\" --write",
19+
"format-check": "prettier \"{src,test}/*.ts\" --check",
2020
"lint": "eslint src/*.ts test/*.ts",
2121
"tdd": "concurrently -r -p '' -k 'npm run watch' 'npm run watch:test'",
2222
"test": "npm run pre-test && ava --timeout=300s --verbose",

0 commit comments

Comments
 (0)