Skip to content

Commit 7854e97

Browse files
committed
chore: remove __tests__ from dist
1 parent 45bb62a commit 7854e97

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"dist"
3535
],
3636
"scripts": {
37-
"build": "tsc",
37+
"build": "tsc -b tsconfig.build.json",
3838
"format": "prettier --write src",
3939
"lint": "pnpm build && eslint --fix src",
4040
"prepare": "husky",

tsconfig.build.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": ["./tsconfig.json"],
3+
"compilerOptions": {
4+
"declaration": true,
5+
"noEmit": false,
6+
"outDir": "dist"
7+
},
8+
"exclude": ["src/__tests__"]
9+
}

tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"extends": ["@douglasneuroinformatics/tsconfig"],
33
"compilerOptions": {
4-
"allowSyntheticDefaultImports": true,
5-
"declaration": true,
6-
"noEmit": false,
7-
"outDir": "dist"
4+
"allowSyntheticDefaultImports": true
85
},
96
"include": ["src/**/*", "typings/*.d.ts"]
107
}

0 commit comments

Comments
 (0)