Skip to content

Commit

Permalink
fix: include TypeScript declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
LexSwed committed Oct 3, 2020
1 parent 49ba7c9 commit c9e006e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@
"source": "src/lib/index.ts",
"main": "build/index.js",
"module": "build/index.es.js",
"jsnext:main": "build/index.es.js",
"unpkg": "build/index.umd.js",
"typings": "build/index.d.ts",
"types": "build/index.d.ts",
"files": [
"build",
"src/lib"
],
"types": "build/index.d.ts",
"sideEffects": false,
"engines": {
"node": ">=12"
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "ESNext",
"target": "ESNext"
"target": "ESNext",
"declaration": true
},
"include": ["src/lib/**/*"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit c9e006e

Please sign in to comment.