fix: use packaged bpf-sdk/ by default
This commit is contained in:
@ -35,11 +35,11 @@
|
||||
"/src"
|
||||
],
|
||||
"scripts": {
|
||||
"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:install": "run-s bpf-sdk:clean bpf-sdk:fetch bpf-sdk:extract bpf-sdk:remove-symlinks bpf-sdk:clean",
|
||||
"bpf-sdk:extract": "rimraf 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 {} \\;",
|
||||
"bpf-sdk:clean": "rm bpf-sdk.tar.bz2",
|
||||
"bpf-sdk:clean": "rimraf 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",
|
||||
@ -50,7 +50,6 @@
|
||||
"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 .",
|
||||
"lint:fix": "npm run lint -- --fix",
|
||||
"lint:watch": "watch 'npm run lint:fix' . --wait=1 --ignoreDirectoryPattern=/doc/",
|
||||
@ -58,8 +57,8 @@
|
||||
"localnet:logs": "bin/localnet.sh logs -f",
|
||||
"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",
|
||||
"prepare": "set -ex; npm run clean; npm run bpf-sdk:install; npm run build",
|
||||
"ok": "run-s --serial lint flow test doc",
|
||||
"prepare": "run-s clean bpf-sdk:install build",
|
||||
"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",
|
||||
@ -76,6 +75,7 @@
|
||||
"jayson": "^3.0.1",
|
||||
"mz": "^2.7.0",
|
||||
"node-fetch": "^2.2.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"rpc-websockets": "^4.3.3",
|
||||
"superstruct": "^0.6.0",
|
||||
"tweetnacl": "^1.0.0",
|
||||
|
Reference in New Issue
Block a user