Skip to content

Commit 1071096

Browse files
committed
Remove test files from npm
1 parent 64cb998 commit 1071096

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@
4444
"semver": "^5.6.0",
4545
"typescript": "^4.2.4"
4646
},
47-
"types": "dist/index.d.ts"
47+
"types": "dist/index.d.ts",
48+
"ts-scripts": {
49+
"project": "tsconfig.build.json"
50+
}
4851
}

tsconfig.build.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"types": ["node"]
5+
},
6+
"exclude": ["**/*.spec.ts"]
7+
}

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"outDir": "dist",
66
"types": ["node", "jest"],
77
"module": "CommonJS"
8-
}
8+
},
9+
"include": ["src/**/*"]
910
}

0 commit comments

Comments
 (0)