2018-08-22 13:30:04 -07:00
|
|
|
{
|
|
|
|
"name": "@solana/web3.js",
|
2018-09-28 21:08:58 -07:00
|
|
|
"version": "0.0.0-development",
|
2018-08-22 13:30:04 -07:00
|
|
|
"description": "Solana Javascript API",
|
|
|
|
"keywords": [
|
|
|
|
"api",
|
|
|
|
"blockchain"
|
|
|
|
],
|
|
|
|
"license": "MIT",
|
2019-06-14 11:45:19 -07:00
|
|
|
"author": "Solana Maintainers <maintainers@solana.com>",
|
2018-08-22 13:30:04 -07:00
|
|
|
"homepage": "https://solana.com/",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-09-28 21:08:58 -07:00
|
|
|
"url": "https://github.com/solana-labs/solana-web3.js.git"
|
2018-08-22 13:30:04 -07:00
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "http://github.com/solana-labs/solana-web3.js.git/issues"
|
|
|
|
},
|
2018-08-22 14:46:09 -07:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
2021-02-10 05:04:34 -08:00
|
|
|
"browser": {
|
2022-03-02 09:00:55 -08:00
|
|
|
"./lib/index.cjs.js": "./lib/index.browser.cjs.js",
|
2021-02-10 05:04:34 -08:00
|
|
|
"./lib/index.esm.js": "./lib/index.browser.esm.js"
|
|
|
|
},
|
2022-07-12 21:41:33 -07:00
|
|
|
"react-native": "lib/index.native.js",
|
2018-08-22 22:17:06 -07:00
|
|
|
"main": "lib/index.cjs.js",
|
2018-08-22 21:43:32 -07:00
|
|
|
"module": "lib/index.esm.js",
|
2021-03-30 05:16:31 -07:00
|
|
|
"types": "lib/index.d.ts",
|
2021-02-05 18:43:42 -08:00
|
|
|
"browserslist": [
|
|
|
|
"defaults",
|
|
|
|
"not IE 11",
|
|
|
|
"maintained node versions"
|
|
|
|
],
|
2018-10-29 12:02:47 -07:00
|
|
|
"files": [
|
|
|
|
"/lib",
|
2018-10-30 07:59:50 -07:00
|
|
|
"/src"
|
2018-10-29 12:02:47 -07:00
|
|
|
],
|
2018-08-22 13:30:04 -07:00
|
|
|
"scripts": {
|
2022-04-15 17:12:29 -07:00
|
|
|
"build": "npm run clean; cross-env NODE_ENV=production rollup -c; npm run type:gen",
|
2021-03-15 00:35:41 -07:00
|
|
|
"build:fixtures": "set -ex; ./test/fixtures/noop-program/build.sh",
|
2018-08-22 13:30:04 -07:00
|
|
|
"clean": "rimraf ./coverage ./lib",
|
2018-12-02 10:03:46 -08:00
|
|
|
"codecov": "set -ex; npm run test:cover; cat ./coverage/lcov.info | codecov",
|
2018-08-22 21:43:32 -07:00
|
|
|
"dev": "cross-env NODE_ENV=development rollup -c",
|
2021-09-13 14:37:18 -07:00
|
|
|
"doc": "set -ex; typedoc --treatWarningsAsErrors",
|
2021-05-05 02:50:55 -07:00
|
|
|
"type:gen": "./scripts/typegen.sh",
|
2020-02-03 05:36:35 -08:00
|
|
|
"lint": "set -ex; npm run pretty; eslint . --ext .js,.ts",
|
2021-05-07 01:59:51 -07:00
|
|
|
"lint:fix": "npm run pretty:fix && eslint . --fix --ext .js,.ts",
|
2022-03-23 12:58:42 -07:00
|
|
|
"type:check": "tsc -p tsconfig.json --noEmit",
|
|
|
|
"ok": "run-s lint test doc type:check",
|
2021-03-15 00:35:41 -07:00
|
|
|
"pretty": "prettier --check '{,{src,test}/**/}*.{j,t}s'",
|
|
|
|
"pretty:fix": "prettier --write '{,{src,test}/**/}*.{j,t}s'",
|
2018-12-02 10:03:46 -08:00
|
|
|
"re": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git",
|
2022-06-28 11:22:04 -07:00
|
|
|
"test": "cross-env TS_NODE_COMPILER_OPTIONS='{ \"module\": \"commonjs\", \"target\": \"es2019\" }' ts-mocha --require esm './test/**/*.test.ts'",
|
2022-04-27 09:53:24 -07:00
|
|
|
"test:cover": "nyc --reporter=lcov npm run test",
|
2021-02-05 18:59:00 -08:00
|
|
|
"test:live": "TEST_LIVE=1 npm run test",
|
2021-02-07 08:57:12 -08:00
|
|
|
"test:live-with-test-validator": "start-server-and-test 'solana-test-validator --reset --quiet' http://localhost:8899/health test:live"
|
2020-05-19 03:57:26 -07:00
|
|
|
},
|
2018-08-23 19:50:09 -07:00
|
|
|
"dependencies": {
|
2021-02-01 18:53:24 -08:00
|
|
|
"@babel/runtime": "^7.12.5",
|
2021-10-25 08:51:24 -07:00
|
|
|
"@ethersproject/sha2": "^5.5.0",
|
2022-03-23 20:18:50 -07:00
|
|
|
"@solana/buffer-layout": "^4.0.0",
|
2022-05-20 02:57:01 -07:00
|
|
|
"bigint-buffer": "^1.1.5",
|
2019-07-24 06:35:12 -07:00
|
|
|
"bn.js": "^5.0.0",
|
2022-03-08 15:07:33 -08:00
|
|
|
"borsh": "^0.7.0",
|
2018-08-23 19:50:09 -07:00
|
|
|
"bs58": "^4.0.1",
|
2021-02-01 18:53:24 -08:00
|
|
|
"buffer": "6.0.1",
|
2022-04-28 16:21:39 -07:00
|
|
|
"fast-stable-stringify": "^1.0.0",
|
2021-02-01 18:53:24 -08:00
|
|
|
"jayson": "^3.4.4",
|
|
|
|
"js-sha3": "^0.8.0",
|
2022-05-26 14:36:57 -07:00
|
|
|
"node-fetch": "2",
|
2022-07-12 21:41:33 -07:00
|
|
|
"react-native-url-polyfill": "^1.3.0",
|
2022-06-27 23:16:39 -07:00
|
|
|
"rpc-websockets": "^7.5.0",
|
2020-10-22 13:15:24 -07:00
|
|
|
"secp256k1": "^4.0.2",
|
2021-02-25 23:06:12 -08:00
|
|
|
"superstruct": "^0.14.2",
|
2022-08-03 10:52:03 -07:00
|
|
|
"tweetnacl": "^1.0.3"
|
2018-08-23 19:50:09 -07:00
|
|
|
},
|
2018-08-22 13:30:04 -07:00
|
|
|
"devDependencies": {
|
2021-02-05 18:59:00 -08:00
|
|
|
"@babel/core": "^7.12.13",
|
2021-02-01 18:53:24 -08:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.12.10",
|
|
|
|
"@babel/preset-env": "^7.12.11",
|
2021-03-14 20:00:43 -07:00
|
|
|
"@babel/preset-typescript": "^7.12.16",
|
2021-02-05 18:59:00 -08:00
|
|
|
"@babel/register": "^7.12.13",
|
2022-06-01 03:21:33 -07:00
|
|
|
"@commitlint/config-conventional": "^17.0.2",
|
2022-05-21 23:54:05 -07:00
|
|
|
"@commitlint/travis-cli": "^17.0.0",
|
2022-05-25 22:21:51 -07:00
|
|
|
"@rollup/plugin-alias": "^3.1.9",
|
2021-02-01 18:53:24 -08:00
|
|
|
"@rollup/plugin-babel": "^5.2.3",
|
2022-05-21 21:46:38 -07:00
|
|
|
"@rollup/plugin-commonjs": "^22.0.0",
|
2021-02-01 18:53:24 -08:00
|
|
|
"@rollup/plugin-json": "^4.1.0",
|
2021-02-05 18:59:00 -08:00
|
|
|
"@rollup/plugin-multi-entry": "^4.0.0",
|
2021-05-05 02:54:27 -07:00
|
|
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
2022-04-28 01:25:10 -07:00
|
|
|
"@rollup/plugin-replace": "^4.0.0",
|
2022-05-06 09:14:11 -07:00
|
|
|
"@solana/spl-token": "^0.2.0",
|
2021-03-14 20:00:43 -07:00
|
|
|
"@types/bn.js": "^5.1.0",
|
|
|
|
"@types/bs58": "^4.0.1",
|
2021-03-14 22:08:10 -07:00
|
|
|
"@types/chai": "^4.2.15",
|
|
|
|
"@types/chai-as-promised": "^7.1.3",
|
2021-07-08 18:01:11 -07:00
|
|
|
"@types/express-serve-static-core": "^4.17.21",
|
2021-07-23 02:12:02 -07:00
|
|
|
"@types/mocha": "^9.0.0",
|
2021-03-14 22:08:10 -07:00
|
|
|
"@types/mz": "^2.7.3",
|
2022-04-18 01:12:09 -07:00
|
|
|
"@types/node": "^17.0.24",
|
2022-05-26 14:36:57 -07:00
|
|
|
"@types/node-fetch": "2",
|
2021-03-14 20:00:43 -07:00
|
|
|
"@types/secp256k1": "^4.0.1",
|
2021-04-17 07:05:15 -07:00
|
|
|
"@types/sinon": "^10.0.0",
|
2022-04-27 14:38:42 -07:00
|
|
|
"@types/sinon-chai": "^3.2.8",
|
2021-02-01 18:53:24 -08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
|
|
|
"@typescript-eslint/parser": "^4.14.2",
|
2021-02-05 18:59:00 -08:00
|
|
|
"chai": "^4.3.0",
|
|
|
|
"chai-as-promised": "^7.1.1",
|
2018-08-23 08:39:34 -07:00
|
|
|
"codecov": "^3.0.4",
|
2020-12-02 01:18:58 -08:00
|
|
|
"cross-env": "7.0.3",
|
2021-02-01 18:53:24 -08:00
|
|
|
"eslint": "^7.19.0",
|
2021-02-22 01:23:44 -08:00
|
|
|
"eslint-config-prettier": "^8.0.0",
|
2022-04-28 04:29:50 -07:00
|
|
|
"eslint-plugin-import": "2.26.0",
|
2022-05-20 01:58:16 -07:00
|
|
|
"eslint-plugin-mocha": "^10.0.4",
|
2021-09-01 15:13:55 -07:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2021-02-05 18:59:00 -08:00
|
|
|
"esm": "^3.2.25",
|
2021-10-21 19:42:04 -07:00
|
|
|
"http-server": "^14.0.0",
|
2021-02-05 18:59:00 -08:00
|
|
|
"mocha": "^8.2.1",
|
2021-06-11 14:20:34 -07:00
|
|
|
"mockttp": "^2.0.1",
|
2021-02-01 18:53:24 -08:00
|
|
|
"mz": "^2.7.0",
|
2021-03-25 02:18:00 -07:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-02-07 08:57:12 -08:00
|
|
|
"nyc": "^15.1.0",
|
2021-05-24 20:53:16 -07:00
|
|
|
"prettier": "^2.3.0",
|
2020-02-08 22:54:43 -08:00
|
|
|
"rimraf": "3.0.2",
|
2022-04-28 05:07:45 -07:00
|
|
|
"rollup": "2.70.2",
|
2021-09-01 14:32:13 -07:00
|
|
|
"rollup-plugin-dts": "^4.0.0",
|
2021-02-01 18:53:24 -08:00
|
|
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2022-06-09 01:18:26 -07:00
|
|
|
"semantic-release": "^19.0.3",
|
2022-04-28 04:55:20 -07:00
|
|
|
"sinon": "^13.0.2",
|
2022-05-11 17:08:11 -07:00
|
|
|
"sinon-chai": "^3.7.0",
|
2021-02-05 18:59:00 -08:00
|
|
|
"start-server-and-test": "^1.12.0",
|
2022-05-12 19:53:07 -07:00
|
|
|
"ts-mocha": "^10.0.0",
|
2021-05-24 05:10:12 -07:00
|
|
|
"ts-node": "^10.0.0",
|
2021-03-14 20:00:43 -07:00
|
|
|
"tslib": "^2.1.0",
|
2021-09-10 19:30:49 -07:00
|
|
|
"typedoc": "^0.22.2",
|
2021-06-11 14:54:00 -07:00
|
|
|
"typescript": "^4.3.2"
|
2021-09-07 15:09:13 -07:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=12.20.0"
|
2018-08-22 13:30:04 -07:00
|
|
|
}
|
2022-05-26 14:36:57 -07:00
|
|
|
}
|