-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathpackage.json
136 lines (136 loc) · 4.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@wormhole-foundation/sdk-base",
"version": "1.0.3",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/wormhole-sdk-ts.git"
},
"bugs": {
"url": "https://github.com/wormhole-foundation/wormhole-sdk-ts/issues"
},
"homepage": "https://github.com/wormhole-foundation/wormhole-sdk-ts#readme",
"directories": {
"test": "__tests__"
},
"license": "Apache-2.0",
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
".": {
"react-native": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"default": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./constants": {
"react-native": {
"import": "./dist/esm/constants/index.js",
"require": "./dist/cjs/constants/index.js",
"types": "./dist/cjs/constants/index.d.ts",
"default": "./dist/cjs/constants/index.js"
},
"import": {
"types": "./dist/esm/constants/index.d.ts",
"default": "./dist/esm/constants/index.js"
},
"require": {
"types": "./dist/cjs/constants/index.d.ts",
"default": "./dist/cjs/constants/index.js"
},
"default": {
"types": "./dist/cjs/constants/index.d.ts",
"default": "./dist/cjs/constants/index.js"
}
},
"./tokens": {
"react-native": {
"import": "./dist/esm/constants/tokens/index.js",
"require": "./dist/cjs/constants/tokens/index.js",
"types": "./dist/cjs/constants/tokens/index.d.ts",
"default": "./dist/cjs/constants/tokens/index.js"
},
"import": {
"types": "./dist/esm/constants/tokens/index.d.ts",
"default": "./dist/esm/constants/tokens/index.js"
},
"require": {
"types": "./dist/cjs/constants/tokens/index.d.ts",
"default": "./dist/cjs/constants/tokens/index.js"
},
"default": {
"types": "./dist/cjs/constants/tokens/index.d.ts",
"default": "./dist/cjs/constants/tokens/index.js"
}
},
"./contracts": {
"react-native": {
"import": "./dist/esm/constants/contracts/index.js",
"require": "./dist/cjs/constants/contracts/index.js",
"types": "./dist/cjs/constants/contracts/index.d.ts",
"default": "./dist/cjs/constants/contracts/index.js"
},
"import": {
"types": "./dist/esm/constants/contracts/index.d.ts",
"default": "./dist/esm/constants/contracts/index.js"
},
"require": {
"types": "./dist/cjs/constants/contracts/index.d.ts",
"default": "./dist/cjs/constants/contracts/index.js"
},
"default": {
"types": "./dist/cjs/constants/contracts/index.d.ts",
"default": "./dist/cjs/constants/contracts/index.js"
}
}
},
"typesVersions": {
"*": {
"tokens": [
"./dist/cjs/constants/tokens/index.d.ts"
],
"contracts": [
"./dist/cjs/constants/contracts/index.d.ts"
],
"*": [
"./dist/cjs/index.d.ts"
]
}
},
"files": [
"dist/esm",
"dist/cjs"
],
"dependencies": {
"@scure/base": "^1.1.3",
"binary-layout": "^1.0.3"
},
"sideEffects": false,
"scripts": {
"test": "jest --config ../../jest.config.ts __tests__/*.ts",
"testamt": "jest --config ../../jest.config.ts __tests__/amount.ts",
"build:cjs": "tsc -p ./tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build:esm": "tsc -p ./tsconfig.esm.json",
"build": "npm run build:esm && npm run build:cjs",
"rebuild": "npm run clean && npm run build",
"clean": "rm -rf ./dist && rm -rf ./.turbo",
"typecheck": "cp ./__tests__/typechecks/index.test-d.ts ./dist/esm/ && tsd",
"lint": "npm run prettier && eslint --fix ./src --ext .ts",
"prettier": "prettier --write ./src"
},
"type": "module"
}