142 lines
4.7 KiB
JSON
142 lines
4.7 KiB
JSON
{
|
|
"name": "@solana/web3.js",
|
|
"version": "0.0.0-development",
|
|
"description": "Solana Javascript API",
|
|
"keywords": [
|
|
"api",
|
|
"blockchain"
|
|
],
|
|
"license": "MIT",
|
|
"author": "Solana Maintainers <maintainers@solana.com>",
|
|
"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.esm.js",
|
|
"./lib/index.esm.js": "./lib/index.browser.esm.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",
|
|
"/module.flow.js",
|
|
"/src"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run clean; cross-env NODE_ENV=production rollup -c; npm run type:gen; npm run flow:gen; npm run flow:check",
|
|
"build:fixtures": "set -ex; ./test/fixtures/noop-program/build.sh",
|
|
"clean": "rimraf ./coverage ./lib",
|
|
"codecov": "set -ex; npm run test:cover; cat ./coverage/lcov.info | codecov",
|
|
"dev": "cross-env NODE_ENV=development rollup -c",
|
|
"doc": "set -ex; typedoc --treatWarningsAsErrors",
|
|
"flow:check": "flow check-contents < module.flow.js",
|
|
"flow:gen": "flowgen lib/index.d.ts -o module.flow.js",
|
|
"type:gen": "./scripts/typegen.sh",
|
|
"lint": "set -ex; npm run pretty; eslint . --ext .js,.ts",
|
|
"lint:fix": "npm run pretty:fix && eslint . --fix --ext .js,.ts",
|
|
"ok": "run-s lint test doc",
|
|
"pretty": "prettier --check '{,{src,test}/**/}*.{j,t}s'",
|
|
"pretty:fix": "prettier --write '{,{src,test}/**/}*.{j,t}s'",
|
|
"re": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git",
|
|
"test": "mocha -r ts-node/register './test/**/*.test.ts'",
|
|
"test:cover": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' nyc --reporter=lcov mocha -r ts-node/register './test/**/*.test.ts'",
|
|
"test:live": "TEST_LIVE=1 npm run test",
|
|
"test:live-with-test-validator": "start-server-and-test 'solana-test-validator --reset --quiet' http://localhost:8899/health test:live"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.12.5",
|
|
"@ethersproject/sha2": "^5.5.0",
|
|
"@solana/buffer-layout": "^3.0.0",
|
|
"bn.js": "^5.0.0",
|
|
"borsh": "^0.4.0",
|
|
"bs58": "^4.0.1",
|
|
"buffer": "6.0.1",
|
|
"cross-fetch": "^3.1.4",
|
|
"jayson": "^3.4.4",
|
|
"js-sha3": "^0.8.0",
|
|
"rpc-websockets": "^7.4.2",
|
|
"secp256k1": "^4.0.2",
|
|
"superstruct": "^0.14.2",
|
|
"tweetnacl": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.13",
|
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
"@babel/plugin-transform-runtime": "^7.12.10",
|
|
"@babel/preset-env": "^7.12.11",
|
|
"@babel/preset-typescript": "^7.12.16",
|
|
"@babel/register": "^7.12.13",
|
|
"@commitlint/config-conventional": "^15.0.0",
|
|
"@commitlint/travis-cli": "^15.0.0",
|
|
"@rollup/plugin-alias": "^3.1.2",
|
|
"@rollup/plugin-babel": "^5.2.3",
|
|
"@rollup/plugin-commonjs": "^21.0.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-multi-entry": "^4.0.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
"@rollup/plugin-replace": "^3.0.0",
|
|
"@solana/spl-token": "^0.1.2",
|
|
"@types/bn.js": "^5.1.0",
|
|
"@types/bs58": "^4.0.1",
|
|
"@types/chai": "^4.2.15",
|
|
"@types/chai-as-promised": "^7.1.3",
|
|
"@types/express-serve-static-core": "^4.17.21",
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/mz": "^2.7.3",
|
|
"@types/node": "^16.0.0",
|
|
"@types/secp256k1": "^4.0.1",
|
|
"@types/sinon": "^10.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
|
"@typescript-eslint/parser": "^4.14.2",
|
|
"chai": "^4.3.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"codecov": "^3.0.4",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "^7.19.0",
|
|
"eslint-config-prettier": "^8.0.0",
|
|
"eslint-plugin-import": "2.25.3",
|
|
"eslint-plugin-mocha": "^9.0.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"esm": "^3.2.25",
|
|
"flow-bin": "^0.150.0",
|
|
"flowgen": "^1.13.0",
|
|
"http-server": "^14.0.0",
|
|
"mocha": "^8.2.1",
|
|
"mockttp": "^2.0.1",
|
|
"mz": "^2.7.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.3.0",
|
|
"puppeteer": "^12.0.0",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "2.60.2",
|
|
"rollup-plugin-dts": "^4.0.0",
|
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"semantic-release": "^18.0.0",
|
|
"sinon": "^12.0.0",
|
|
"start-server-and-test": "^1.12.0",
|
|
"ts-node": "^10.0.0",
|
|
"tslib": "^2.1.0",
|
|
"typedoc": "^0.22.2",
|
|
"typescript": "^4.3.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.20.0"
|
|
}
|
|
}
|