Skip to content

Commit

Permalink
faster typechecking
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed May 15, 2022
1 parent 93f86a7 commit f2e66a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -77,12 +77,12 @@
"build:internal": "bunchee index.ts --cwd _internal --no-sourcemap",
"prepublishOnly": "yarn clean && yarn build",
"publish-beta": "yarn publish --tag beta",
"types:check": "tsc --noEmit --project tsconfig.check.json && tsc --noEmit -p test",
"types:check": "tsc --noEmit --project tsconfig.check.json",
"format": "prettier --write ./**/*.{ts,tsx}",
"lint": "eslint . --ext .ts,.tsx --cache",
"lint:fix": "yarn lint --fix",
"coverage": "jest --coverage",
"test": "jest"
"test": "jest && tsc --noEmit -p test"
},
"husky": {
"hooks": {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Expand Up @@ -23,7 +23,8 @@
"swr/immutable": ["./immutable/index.ts"],
"swr/mutation": ["./mutation/index.ts"]
},
"typeRoots": ["./node_modules/@types"]
"typeRoots": ["./node_modules/@types"],
"incremental": true
},
"include": ["core"],
"exclude": ["./**/dist", "node_modules", "jest.config.js"],
Expand Down

0 comments on commit f2e66a7

Please sign in to comment.