Skip to content

Commit

Permalink
fix typing generation
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Mar 23, 2022
1 parent d2aa139 commit 8d0e25c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
"files": [
"dist/**"
],
"types": "./dist/index.d.ts",
"repository": "shuding/cobe",
"license": "MIT",
"scripts": {
"build:esm": "node scripts/build.js",
"build:esm": "node scripts/build.js && cp src/index.d.ts dist/index.d.ts",
"build": "yarn build:esm"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"outDir": "dist",
"rootDir": "src"
},
"exclude": ["**/*.test.ts"]
"exclude": ["dist", "node_modules", "scripts"]
}

0 comments on commit 8d0e25c

Please sign in to comment.