Skip to content

Commit

Permalink
fix(typings): build and provide type definitions to NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
freshollie committed Feb 19, 2020
1 parent 19278ca commit fa950cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"license": "MIT",
"main": "index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc && cd ./demo && npm run build && cd -",
"test": "jest",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"declaration": true,
"jsx": "react"
},
"include": [
Expand Down

0 comments on commit fa950cf

Please sign in to comment.