-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathpackage.json
92 lines (92 loc) · 2.59 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
{
"name": "@wormhole-foundation/sdk-definitions",
"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__"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"files": [
"dist/esm",
"dist/cjs"
],
"exports": {
".": {
"react-native": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"default": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./testing": {
"react-native": {
"import": "./dist/esm/testing/index.js",
"require": "./dist/cjs/testing/index.js",
"types": "./dist/cjs/testing/index.d.ts",
"default": "./dist/cjs/testing/index.js"
},
"require": {
"types": "./dist/cjs/testing/index.d.ts",
"default": "./dist/cjs/testing/index.js"
},
"import": {
"types": "./dist/esm/testing/index.d.ts",
"default": "./dist/esm/testing/index.js"
},
"default": {
"types": "./dist/cjs/testing/index.d.ts",
"default": "./dist/cjs/testing/index.js"
}
}
},
"typesVersions": {
"*": {
"testing": [
"./dist/cjs/testing/index.d.ts",
"./dist/esm/testing/index.d.ts"
],
"*": [
"./dist/cjs/index.d.ts",
"./dist/esm/index.d.ts"
]
}
},
"scripts": {
"test": "jest --config ../../jest.config.ts __tests__/*.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",
"lint": "npm run prettier && eslint --fix ./src --ext .ts",
"prettier": "prettier --write ./src"
},
"dependencies": {
"@noble/hashes": "^1.3.1",
"@noble/curves": "^1.4.0",
"@wormhole-foundation/sdk-base": "1.0.3"
},
"type": "module"
}