Skip to content

Commit d5c5eff

Browse files
committed
build(package.json): update scripts, add typecheck[:watch], rename fix to lint:fix, rename watch to build:watch
also remove tsconfig.tsbuildinfo on build
1 parent de82c88 commit d5c5eff

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@
2525
"README.md"
2626
],
2727
"scripts": {
28-
"build": "rm -rf lib/* && tsc",
28+
"build": "rm -rf lib tsconfig.tsbuildinfo && tsc",
29+
"build:watch": "tsc --watch",
2930
"eslint-check": "eslint-config-prettier src/index.ts",
30-
"fix": "pnpm lint --fix",
3131
"lint": "eslint src",
32+
"lint:fix": "eslint src --fix",
3233
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
33-
"watch": "tsc --watch"
34+
"typecheck": "tsc --noEmit",
35+
"typecheck:watch": "tsc --noEmit --watch"
3436
},
3537
"dependencies": {
3638
"graphql": "^16.0.0",

0 commit comments

Comments
 (0)