41 lines
2.1 KiB
JSON
41 lines
2.1 KiB
JSON
{
|
|
"name": "posdao-test-setup",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"scripts": {
|
|
"after-start": "npm run checkers && npm run test && npm run watcher && npm run stop-test-setup",
|
|
"after-start-no-watcher": "npm run checkers && npm run test && npm run stop-test-setup",
|
|
"all": "CLIENT=openethereum npm run before-start && npm run start-test-setup-openethereum && npm run after-start",
|
|
"all-nethermind": "CLIENT=nethermind npm run before-start && npm run start-test-setup-nethermind && npm run after-start",
|
|
"all-nethermind-no-watcher": "CLIENT=nethermind npm run before-start && npm run start-test-setup-nethermind && npm run after-start-no-watcher",
|
|
"before-start": "npm i && npm run get-all-submodules && npm run cleanup && npm run compile-posdao-contracts && npm run make-spec",
|
|
"checkers": "(node scripts/watchOrdinaryNode.js &) && node scripts/deploy-staking-token.js && (node scripts/watchRandomSeed &)",
|
|
"cleanup": "bash scripts/stop-test-setup && rm -rf ./accounts ./config ./data && git checkout ./accounts && git checkout ./config && git checkout ./data",
|
|
"get-all-submodules": "git submodule update --init --remote",
|
|
"compile-posdao-contracts": "cd ./posdao-contracts && npm i && npm run compile",
|
|
"make-spec": ". ./scripts/network-spec && cd ./posdao-contracts && npm i && node ./scripts/make_spec.js && node ../scripts/copy-spec.js",
|
|
"start-test-setup-openethereum": "bash scripts/start-test-setup ../openethereum/target/release/openethereum",
|
|
"start-test-setup-nethermind": "bash scripts/start-test-setup ../nethermind/bin/Nethermind.Runner",
|
|
"test": "node_modules/.bin/mocha --bail --timeout 1200000",
|
|
"stop-test-setup": "bash scripts/stop-test-setup",
|
|
"watcher": "node scripts/watcher.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/poanetwork/posdao-test-setup.git"
|
|
},
|
|
"author": "poa.network",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"chai-bn": "^0.1.1",
|
|
"ethereumjs-tx": "^1.3.7",
|
|
"mocha": "^6.1.4",
|
|
"rlp": "2.2.6",
|
|
"secp256k1": "4.0.2",
|
|
"solc": "0.5.10",
|
|
"web3": "1.3.4"
|
|
}
|
|
}
|