Skip to content

Commit

Permalink
Include index.d.ts in the distribution package (#176)
Browse files Browse the repository at this point in the history
Typings were added in #154, but are not part of the distributed package. After installing the package with `yarn add tableschema` this is what gets installed:

```
tree -L 1 node_modules/tableschema
node_modules/tableschema
├── LICENSE.md
├── README.md
├── dist
├── lib
├── node_modules
├── package.json
└── src
```

see https://docs.npmjs.com/files/package.json#files

Co-authored-by: roll <[email protected]>
  • Loading branch information
mserranom and roll authored May 31, 2020
1 parent b0260e5 commit 1533abd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"files": [
"dist",
"lib",
"src"
"src",
"index.d.ts"
],
"scripts": {
"build": "npm run compile && npm run bundle",
Expand Down

0 comments on commit 1533abd

Please sign in to comment.