Skip to content

Commit aae6889

Browse files
committed
npm-scriptsにformat, typecheck追加, eslintにtestsディレクトリを対象に加える
1 parent fbcd81e commit aae6889

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@
2424
"scripts": {
2525
"build": "tsup",
2626
"postbuild": "mkdir -p ./dist/umd/ && cp -pR ./dist/iife/* ./dist/umd",
27-
"lint": "eslint ./src",
28-
"lint:fix": "eslint --fix ./src",
27+
"lint": "eslint ./src ./tests",
28+
"lint:fix": "eslint --fix ./src ./tests",
29+
"format": "prettier --check ./src ./tests",
30+
"format:fix": "prettier --write ./src ./tests",
31+
"typecheck": "tsc --noEmit",
2932
"test": "jest --coverage=false",
3033
"test:coverage": "jest --coverage=true"
3134
},

0 commit comments

Comments
 (0)