-
Notifications
You must be signed in to change notification settings - Fork 915
/
Copy pathpackage.json
130 lines (130 loc) · 4.42 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
{
"name": "@solana/web3.js",
"version": "1.0.0-maintenance",
"description": "Solana Javascript API",
"keywords": [
"api",
"blockchain"
],
"license": "MIT",
"author": "Solana Labs Maintainers <[email protected]>",
"homepage": "https://solana.com/",
"repository": {
"type": "git",
"url": "https://github.com/solana-labs/solana-web3.js.git"
},
"bugs": {
"url": "http://github.com/solana-labs/solana-web3.js.git/issues"
},
"publishConfig": {
"access": "public"
},
"browser": {
"./lib/index.cjs.js": "./lib/index.browser.cjs.js",
"./lib/index.esm.js": "./lib/index.browser.esm.js"
},
"react-native": "lib/index.native.js",
"main": "lib/index.cjs.js",
"module": "lib/index.esm.js",
"types": "lib/index.d.ts",
"browserslist": [
"defaults",
"not IE 11",
"maintained node versions"
],
"files": [
"/lib",
"/src"
],
"scripts": {
"compile:docs": "typedoc --treatWarningsAsErrors",
"compile:js": "cross-env NODE_ENV=production rollup -c",
"compile:typedefs": "./scripts/typegen.sh",
"build:fixtures": "set -ex; ./test/fixtures/noop-program/build.sh",
"clean": "rimraf ./doc ./declarations ./lib",
"dev": "cross-env NODE_ENV=development rollup -c --watch",
"prepublishOnly": "pnpm pkg delete devDependencies",
"publish-packages": "semantic-release --repository-url [email protected]:solana-labs/solana-web3.js.git",
"test:lint": "eslint src/ test/ --ext .js,.ts",
"test:lint:fix": "eslint src/ test/ --fix --ext .js,.ts",
"test:live": "TEST_LIVE=1 pnpm run test:unit",
"test:live-with-test-validator": "start-server-and-test './scripts/start-shared-test-validator.sh' http://127.0.0.1:8899/health test:live",
"test:live-with-test-validator:setup": "./scripts/setup-test-validator.sh",
"test:prettier": "prettier --check '{,{src,test}/**/}*.{j,t}s'",
"test:prettier:fix": "pnpm prettier --write '{,{src,test}/**/}*.{j,t}s'",
"test:typecheck": "tsc --noEmit",
"test:unit": "cross-env NODE_ENV=test NODE_OPTIONS='--import tsx' mocha './test/**/*.test.ts'"
},
"dependencies": {
"@babel/runtime": "^7.25.0",
"@noble/curves": "^1.4.2",
"@noble/hashes": "^1.4.0",
"@solana/buffer-layout": "^4.0.1",
"agentkeepalive": "^4.5.0",
"bigint-buffer": "^1.1.5",
"bn.js": "^5.2.1",
"borsh": "^0.7.0",
"bs58": "^4.0.1",
"buffer": "6.0.3",
"fast-stable-stringify": "^1.0.0",
"jayson": "^4.1.1",
"node-fetch": "^2.7.0",
"rpc-websockets": "^9.0.2",
"superstruct": "^2.0.2"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@babel/plugin-transform-class-properties": "^7.24.7",
"@babel/plugin-transform-private-methods": "^7.24.7",
"@babel/plugin-transform-private-property-in-object": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.25.0",
"@babel/preset-typescript": "^7.24.7",
"@commitlint/config-conventional": "^19.2.2",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/bn.js": "^5.1.5",
"@types/bs58": "^4.0.1",
"@types/chai-as-promised": "^8.0.0",
"@types/express-serve-static-core": "^5.0.0",
"@types/mocha": "^10.0.6",
"@types/mz": "^2.7.4",
"@types/node-fetch": "2",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"chai": "^5.1.1",
"chai-as-promised": "^8.0.0",
"commitlint": "^19.3.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"cross-env": "7.0.3",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-mocha": "^10.4.3",
"eslint-plugin-prettier": "^5.2.1",
"esm": "^3.2.25",
"mocha": "^11.0.1",
"mockttp": "^3.15.0",
"mz": "^2.7.0",
"node-abort-controller": "^3.0.1",
"prettier": "^3.3",
"rimraf": "6.0.1",
"rollup": "^4.24.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"semantic-release": "^24.0.0",
"sinon": "^19.0.2",
"sinon-chai": "^4.0.0",
"start-server-and-test": "^2.0.4",
"typescript": "^5.5.4",
"tslib": "^2.6.3",
"tsx": "^4.16.2",
"typedoc": "^0.27.0"
}
}