Skip to content

Commit

Permalink
Update tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Apr 16, 2022
1 parent 82c47b5 commit 6f0c6f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "rollup -c",
"test": "jest",
"tsc": "tsc -p . --noEmit",
"tsc:d": "tsc -p . --outDir lib -d --emitDeclarationOnly",
"tsc:d": "tsc -p ./tsconfig-build.json --outDir lib -d --emitDeclarationOnly",
"storybook": "start-storybook -p 6006",
"storybook:build": "build-storybook",
"prepublishOnly": "rimraf lib && npm run build && npm run tsc:d"
Expand Down
4 changes: 4 additions & 0 deletions tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "./tsconfig",
"exclude": ["src/**/*.spec.*"]
}
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"isolatedModules": true
},
"include": ["src"],
"exclude": ["node_modules", "src/**/*.spec.*"]
"exclude": ["node_modules"]
}

0 comments on commit 6f0c6f4

Please sign in to comment.