solana/web3.js/package.json

144 lines
5.1 KiB
JSON
Raw Normal View History

{
"name": "@solana/web3.js",
"version": "0.0.0-development",
"description": "Solana Javascript API",
"keywords": [
"api",
"blockchain"
],
"license": "MIT",
2019-06-14 11:45:19 -07:00
"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"
},
2018-08-22 14:46:09 -07:00
"publishConfig": {
"access": "public"
},
"browser": {
"./lib/index.cjs.js": "./lib/index.browser.esm.js",
"./lib/index.esm.js": "./lib/index.browser.esm.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",
"types": "lib/index.d.ts",
"browserslist": [
"defaults",
"not IE 11",
"maintained node versions"
],
"files": [
"/lib",
2018-10-30 07:59:50 -07:00
"/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",
2021-02-05 18:59:00 -08:00
"build:browser-test": "rollup -c test/rollup.config.js",
"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",
2018-08-22 21:43:32 -07:00
"dev": "cross-env NODE_ENV=development rollup -c",
"doc": "set -ex; typedoc",
"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",
2021-03-14 22:08:10 -07:00
"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'",
2021-03-15 00:17:17 -07:00
"test:cover": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' nyc --reporter=lcov mocha -r ts-node/register './test/**/*.test.ts'",
"test:browser": "TEST_LIVE=1 npm run build:browser-test && mocha-headless-chrome -f http://localhost:8080/mocha.html --timeout 180000",
2021-02-05 18:59:00 -08:00
"test:browser-with-server": "start-server-and-test 'http-server -p 8080' 8080 test:browser",
"test:browser-with-test-validator": "start-server-and-test 'solana-test-validator --reset --quiet' http://localhost:8899/health test:browser-with-server",
"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": {
"@babel/runtime": "^7.12.5",
"@solana/buffer-layout": "^3.0.0",
"bn.js": "^5.0.0",
"borsh": "^0.4.0",
2018-08-23 19:50:09 -07:00
"bs58": "^4.0.1",
"buffer": "6.0.1",
2020-03-16 02:44:12 -07:00
"crypto-hash": "^1.2.2",
"jayson": "^3.4.4",
"js-sha3": "^0.8.0",
"node-fetch": "^2.6.1",
"rpc-websockets": "^7.4.2",
"secp256k1": "^4.0.2",
"superstruct": "^0.14.2",
"tweetnacl": "^1.0.0"
2018-08-23 19:50:09 -07:00
},
"devDependencies": {
2021-02-05 18:59:00 -08:00
"@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",
2021-02-05 18:59:00 -08:00
"@babel/register": "^7.12.13",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/travis-cli": "^13.1.0",
2021-02-05 18:59:00 -08:00
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-babel": "^5.2.3",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-json": "^4.1.0",
2021-02-05 18:59:00 -08:00
"@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",
2021-03-14 22:08:10 -07:00
"@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",
2021-03-14 22:08:10 -07:00
"@types/mz": "^2.7.3",
"@types/node": "^16.0.0",
"@types/node-fetch": "^2.5.8",
"@types/secp256k1": "^4.0.1",
"@types/sinon": "^10.0.0",
"@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",
"cross-env": "7.0.3",
"eslint": "^7.19.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-import": "2.24.2",
"eslint-plugin-mocha": "^9.0.0",
2018-11-04 11:41:21 -08:00
"eslint-plugin-prettier": "^3.0.0",
2021-02-05 18:59:00 -08:00
"esm": "^3.2.25",
"flow-bin": "^0.150.0",
"flowgen": "^1.13.0",
"http-server": "^13.0.0",
2021-02-05 18:59:00 -08:00
"mocha": "^8.2.1",
"mocha-headless-chrome": "^3.1.0",
"mockttp": "^2.0.1",
"mz": "^2.7.0",
"npm-run-all": "^4.1.5",
2021-02-07 08:57:12 -08:00
"nyc": "^15.1.0",
"prettier": "^2.3.0",
"rimraf": "3.0.2",
"rollup": "2.56.3",
"rollup-plugin-dts": "^3.0.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^17.0.2",
"sinon": "^11.0.0",
2021-02-05 18:59:00 -08:00
"start-server-and-test": "^1.12.0",
"ts-node": "^10.0.0",
"tslib": "^2.1.0",
"typedoc": "^0.21.0-beta.2",
"typescript": "^4.3.2"
}
}