We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2aa139 commit 8d0e25cCopy full SHA for 8d0e25c
package.json
@@ -6,10 +6,11 @@
6
"files": [
7
"dist/**"
8
],
9
+ "types": "./dist/index.d.ts",
10
"repository": "shuding/cobe",
11
"license": "MIT",
12
"scripts": {
- "build:esm": "node scripts/build.js",
13
+ "build:esm": "node scripts/build.js && cp src/index.d.ts dist/index.d.ts",
14
"build": "yarn build:esm"
15
},
16
"dependencies": {
tsconfig.json
@@ -15,5 +15,5 @@
"outDir": "dist",
"rootDir": "src"
17
18
- "exclude": ["**/*.test.ts"]
+ "exclude": ["dist", "node_modules", "scripts"]
19
}
0 commit comments