solana/web3.js/package.json

127 lines
4.7 KiB
JSON
Raw Normal View History

{
"name": "@solana/web3.js",
"version": "0.0.0-development",
"description": "Solana Javascript API",
"keywords": [
"api",
"blockchain"
],
"license": "MIT",
"author": "Solana Labs, Inc",
"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"
},
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",
2018-10-02 20:51:19 -07:00
"bin": {
"solana-localnet": "bin/localnet.sh"
},
"testnetDefaultChannel": "edge",
"files": [
"/bin",
"/doc",
"/examples",
"/bpf-sdk",
"/lib",
2018-10-30 07:59:50 -07:00
"/module.flow.js",
"/src"
],
"scripts": {
2019-01-23 15:46:56 -08:00
"bpf-sdk:install": "set -ex; npm run bpf-sdk:fetch; npm run bpf-sdk:extract; npm run bpf-sdk:remove-symlinks; npm run bpf-sdk:clean",
"bpf-sdk:extract": "rm -rf bpf-sdk; tar jxvf bpf-sdk.tar.bz2",
"bpf-sdk:fetch": "curl http://solana-sdk.s3.amazonaws.com/$npm_package_testnetDefaultChannel/bpf-sdk.tar.bz2 -o bpf-sdk.tar.bz2",
"bpf-sdk:remove-symlinks": "find bpf-sdk -type l -print -exec cp {} {}.tmp \\; -exec mv {}.tmp {} \\;",
2019-01-23 15:46:56 -08:00
"bpf-sdk:clean": "rm bpf-sdk.tar.bz2",
"build": "cross-env NODE_ENV=production rollup -c",
"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; esdoc; node -p '\"\\nDocumentation coverage: \" + require(\"./doc/coverage.json\").coverage'",
2018-08-22 13:53:13 -07:00
"doc:watch": "watch 'npm run doc' . --wait=1 --ignoreDirectoryPattern=/doc/",
"examples": "set -ex; for example in examples/*.js; do node $example; done",
"flow": "set -ex; flow stop; flow-typed install jest@24; flow",
"flow:stop": "flow stop",
"flow:watch": "flow stop; watch 'flow' . --wait=1 --ignoreDirectoryPattern=/doc/",
"install": "npm run bpf-sdk:install",
"lint": "set -ex; npm run pretty; eslint .",
2018-09-26 20:01:32 -07:00
"lint:fix": "npm run lint -- --fix",
2018-08-23 16:49:03 -07:00
"lint:watch": "watch 'npm run lint:fix' . --wait=1 --ignoreDirectoryPattern=/doc/",
2018-10-02 20:51:19 -07:00
"localnet:down": "bin/localnet.sh down",
2018-10-10 10:44:28 -07:00
"localnet:logs": "bin/localnet.sh logs -f",
2018-12-19 19:28:28 -08:00
"localnet:up": "bin/localnet.sh up $npm_package_testnetDefaultChannel",
"localnet:update": "bin/localnet.sh update $npm_package_testnetDefaultChannel",
"ok": "set -ex; npm run lint; npm run flow; npm run test; npm run doc",
2019-01-23 15:46:56 -08:00
"prepare": "set -ex; npm run clean; npm run bpf-sdk:install; npm run build",
2018-11-04 11:41:21 -08:00
"pretty": "prettier --write '{,{examples,src,test}/**/}*.js'",
"re": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git",
"test": "cross-env NODE_ENV=test jest --useStderr",
"test:cover": "cross-env NODE_ENV=test jest --coverage --useStderr",
"test:live": "cross-env NODE_ENV=test TEST_LIVE=1 jest --useStderr",
"test:watch": "cross-env NODE_ENV=test jest --watch --useStderr"
},
2018-08-23 19:50:09 -07:00
"dependencies": {
"@babel/runtime": "^7.3.1",
2018-09-30 18:42:45 -07:00
"bn.js": "^4.11.8",
2018-08-23 19:50:09 -07:00
"bs58": "^4.0.1",
"buffer-layout": "^1.2.0",
2018-12-03 09:17:55 -08:00
"esdoc-inject-style-plugin": "^1.0.0",
"jayson": "^3.0.1",
"mz": "^2.7.0",
2018-08-23 19:50:09 -07:00
"node-fetch": "^2.2.0",
2018-10-26 21:37:39 -07:00
"rpc-websockets": "^4.3.3",
2018-09-25 18:56:43 -07:00
"superstruct": "^0.6.0",
2018-10-26 21:37:39 -07:00
"tweetnacl": "^1.0.0",
"ws": "^7.0.0"
2018-08-23 19:50:09 -07:00
},
"devDependencies": {
"@babel/core": "^7.3.3",
"@babel/plugin-proposal-class-properties": "^7.3.3",
"@babel/plugin-proposal-function-bind": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-flow": "^7.0.0",
2018-11-26 15:53:27 -08:00
"babel-eslint": "10.0.1",
"babel-plugin-module-resolver": "3.2.0",
2018-08-23 08:39:34 -07:00
"codecov": "^3.0.4",
2018-09-25 18:56:43 -07:00
"cross-env": "5.2.0",
2018-11-06 15:14:59 -08:00
"elfy": "^0.1.0",
"enzyme": "3.9.0",
2018-08-22 13:53:13 -07:00
"esdoc": "^1.1.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-flow-type-plugin": "^1.1.0",
"esdoc-importpath-plugin": "^1.0.2",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "5.16.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-import": "2.17.3",
"eslint-plugin-jest": "22.6.4",
2018-11-04 11:41:21 -08:00
"eslint-plugin-prettier": "^3.0.0",
"flow-bin": "0.101.0",
"flow-typed": "2.5.2",
"fs-file-tree": "1.0.7",
"jest": "24.8.0",
"marked": "^0.6.0",
2018-11-04 11:41:21 -08:00
"prettier": "^1.14.3",
"rimraf": "2.6.3",
"rollup": "1.15.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "9.3.4",
"rollup-plugin-json": "^4.0.0",
2018-08-22 21:43:32 -07:00
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.2.1",
"rollup-plugin-node-resolve": "5.0.2",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "^5.0.0",
"semantic-release": "^15.9.16",
2018-08-22 13:53:13 -07:00
"watch": "^1.0.2"
}
}