-
Notifications
You must be signed in to change notification settings - Fork 870
/
package.json
131 lines (131 loc) · 4.38 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
{
"name": "@solana/web3.js",
"version": "0.0.0-development",
"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": "https://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",
"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:node",
"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:prettier": "prettier --check '{,{src,test}/**/}*.{j,t}s'",
"test:prettier:fix": "prettier --write '{,{src,test}/**/}*.{j,t}s'",
"test:typecheck": "tsc --noEmit",
"test:unit:node": "cross-env NODE_ENV=test TS_NODE_COMPILER_OPTIONS='{ \"module\": \"commonjs\", \"target\": \"es2019\" }' ts-mocha --require esm './test/**/*.test.ts'"
},
"dependencies": {
"@babel/runtime": "^7.22.3",
"@noble/curves": "^1.0.0",
"@noble/hashes": "^1.3.0",
"@solana/buffer-layout": "^4.0.0",
"agentkeepalive": "^4.2.1",
"bigint-buffer": "^1.1.5",
"bn.js": "^5.0.0",
"borsh": "^0.7.0",
"bs58": "^4.0.1",
"buffer": "6.0.3",
"fast-stable-stringify": "^1.0.0",
"jayson": "^4.1.0",
"node-fetch": "^2.6.11",
"rpc-websockets": "^7.5.1",
"superstruct": "^0.14.2"
},
"devDependencies": {
"@babel/core": "^7.12.13",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.22.4",
"@babel/preset-typescript": "^7.12.16",
"@rollup/plugin-alias": "^4.0.3",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@solana/spl-token": "^0.3.8",
"@types/bn.js": "^5.1.0",
"@types/bs58": "^4.0.1",
"@types/chai": "^4.3.5",
"@types/chai-as-promised": "^7.1.3",
"@types/express-serve-static-core": "^4.17.35",
"@types/mocha": "^10.0.1",
"@types/mz": "^2.7.3",
"@types/node": "^20.4.4",
"@types/node-fetch": "2",
"@types/sinon": "^10.0.0",
"@types/sinon-chai": "^3.2.8",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"cross-env": "7.0.3",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"esm": "^3.2.25",
"mocha": "^10.2.0",
"mockttp": "^3.7.5",
"mz": "^2.7.0",
"node-abort-controller": "^3.0.1",
"prettier": "^2.8.8",
"rimraf": "5.0.1",
"rollup": "^3.26.2",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"semantic-release": "^21.0.7",
"sinon": "^15.1.0",
"sinon-chai": "^3.7.0",
"start-server-and-test": "^2.0.0",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"tsconfig": "workspace:*",
"tslib": "^2.5.2",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
}
}