-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathpackage.json
76 lines (76 loc) · 2.3 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
{
"name": "@wormhole-foundation/sdk-solana-ntt",
"version": "0.0.1-beta.1",
"repository": {
"type": "git",
"url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
},
"bugs": {
"url": "https://github.com/wormhole-foundation/connect-sdk/issues"
},
"homepage": "https://github.com/wormhole-foundation/connect-sdk#readme",
"directories": {
"test": "__tests__"
},
"license": "Apache-2.0",
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"module": "./dist/esm/index.js",
"description": "SDK for Solana, used in conjunction with @wormhole-foundation/sdk",
"files": [
"dist/esm",
"dist/cjs"
],
"keywords": [
"wormhole",
"sdk",
"typescript",
"ntt",
"solana"
],
"engines": {
"node": ">=16"
},
"sideEffects": true,
"scripts": {
"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",
"test:ci": "jest --config ./jest.config.ts",
"copy:idl": "cp ../../solana/target/idl/*.json ./src/anchor-idl/$IDL_VERSION/",
"copy:types": "cp ../../solana/target/types/*.ts ./src/anchor-idl/$IDL_VERSION/",
"generate": "export IDL_VERSION=`../../solana/scripts/program-version | sed s/\\\\\\./_/g` && mkdir -p ./src/anchor-idl/$IDL_VERSION && npm run copy:idl && npm run copy:types",
"build:contracts": "cd ../../solana && make build"
},
"devDependencies": {
"@types/bn.js": "^5.1.5",
"nock": "^13.3.3",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsx": "^4.7.2"
},
"dependencies": {
"@coral-xyz/anchor": "0.29.0",
"@coral-xyz/borsh": "0.29.0",
"@solana/spl-token": "0.3.9",
"@solana/web3.js": "1.91.7",
"@wormhole-foundation/sdk-definitions-ntt": "0.0.1-beta.1",
"@wormhole-foundation/sdk-solana": "0.5.3-beta.9",
"@wormhole-foundation/sdk-solana-core": "0.5.3-beta.9"
},
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
}
}