Skip to content

Commit

Permalink
fix(types): include types in dist (#10)
Browse files Browse the repository at this point in the history
so the code can be consumed as a TS library by other TS projects
  • Loading branch information
cajubelt authored Sep 6, 2022
1 parent 770dd23 commit 83cb2a7
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 @@ -2,6 +2,7 @@
"name": "@revo-market/farm-bot-apy",
"version": "0.0.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "[email protected]:revo-market/farm-bot-apy.git",
"author": "Revo Inc",
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"esModuleInterop": true,
"declaration": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
Expand Down

0 comments on commit 83cb2a7

Please sign in to comment.