Skip to content

Commit e93eaac

Browse files
committed
Configure package.json for npm package publishing
1 parent f8bbf23 commit e93eaac

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@
1414
"url": "https://github.com/api3dao/data-feed-proxy-combinators.git"
1515
},
1616
"private": false,
17-
"main": "dist/src/index",
18-
"types": "dist/src/index",
17+
"main": "dist/src/index.js",
18+
"types": "dist/src/index.d.ts",
1919
"files": [
20-
"vendor",
20+
"contracts",
21+
"typechain-types",
2122
"dist"
2223
],
24+
"exports": {
25+
".": "./dist/src/index.js"
26+
},
2327
"scripts": {
2428
"build": "pnpm build:hardhat && tsc -p tsconfig.build.json",
2529
"build:hardhat": "hardhat --config hardhat.build.config.ts compile",

0 commit comments

Comments
 (0)