Skip to content

Commit a899d65

Browse files
committed
refactor: split structure into core/node
1 parent 9927372 commit a899d65

38 files changed

+287
-90
lines changed

contract_manager/package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,16 @@
33
"version": "1.0.0",
44
"description": "Set of tools to manage pyth contracts",
55
"private": true,
6-
"main": "lib/index.js",
7-
"types": "lib/index.d.ts",
6+
"exports": {
7+
"./node/*": {
8+
"types": "./lib/node/utils/*.d.ts",
9+
"default": "./lib/node/utils/*.js"
10+
},
11+
"./core/*": {
12+
"types": "./lib/core/*.d.ts",
13+
"default": "./lib/core/*.js"
14+
}
15+
},
816
"files": [
917
"lib/**/*"
1018
],
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)