Skip to content

Commit

Permalink
Fix ts type support publish
Browse files Browse the repository at this point in the history
  • Loading branch information
tvkhoa committed Oct 22, 2019
1 parent 1a5e398 commit 6ca6a9b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 37 deletions.
21 changes: 0 additions & 21 deletions .npmignore

This file was deleted.

20 changes: 9 additions & 11 deletions dist/react-tippy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/react-tippy.js.map

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "React tippy",
"main": "dist/react-tippy.js",
"files": [
"dist"
"dist",
"index.d.ts"
],
"author": "Khoa Thai",
"license": "MIT",
Expand Down Expand Up @@ -43,11 +44,11 @@
"redux-state-action": "^1.0.8",
"redux-thunk": "^2.2.0",
"webpack": "^2.3.0",
"yargs": "^7.0.2"
"yargs": "^7.0.2",
"@types/react": "*"
},
"dependencies": {
"popper.js": "^1.11.1",
"@types/react": "*"
"popper.js": "^1.11.1"
},
"scripts": {
"build": "webpack --config webpacklib.config.js --env build",
Expand Down

0 comments on commit 6ca6a9b

Please sign in to comment.