This repository has been archived by the owner on Oct 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 3.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "posdao-test-setup",
"version": "0.0.1",
"description": "",
"scripts": {
"all": "npm ci && npm run get-all-submodules && npm run cleanup && npm run compile-posdao-contracts && npm run make-spec && npm run start-test-setup && npm run test && npm run stop-test-setup",
"all-light": "npm run cleanup && npm run make-spec && npm run start-test-setup && npm run test && npm run stop-test-setup",
"cleanup": "bash scripts/stop-test-setup && rm -rf ./build ./parity-data ./accounts && git checkout ./parity-data && git checkout ./accounts",
"get-all-submodules": "git submodule update --init --remote",
"compile-posdao-contracts": "cd ./posdao-contracts && npm ci && npm run compile",
"make-spec": ". ./scripts/network-spec && cd ./posdao-contracts && node ./scripts/make_spec.js && cd - && node ./scripts/copy-spec.js",
"start-test-setup": "bash scripts/start-test-setup ../parity-ethereum/target/release/parity && (node scripts/watchOrdinaryNode.js &) && node scripts/deploy-staking-token.js && (node scripts/watchRandomSeed &) && (node scripts/emitInitiateChange &)",
"test": "node_modules/.bin/mocha --bail --timeout 1200000 && npm run watcher",
"stop-test-setup": "bash scripts/stop-test-setup",
"watcher": "node scripts/watcher.js",
"all-upgrade": "npm ci && npm run get-all-submodules && npm run cleanup && npm run compile-posdao-contracts && npm run upgrade-make-initial-spec && npm run upgrade-start-test-setup && npm run upgrade-prepare-fork && npm run upgrade-restart-test-setup && npm run upgrade-wait && npm run upgrade-deploy-staking-token && npm run test && npm run stop-test-setup",
"all-upgrade-light": "npm run cleanup && npm run upgrade-make-initial-spec && npm run upgrade-start-test-setup && npm run upgrade-prepare-fork && npm run upgrade-restart-test-setup && npm run upgrade-wait && npm run upgrade-deploy-staking-token && npm run test && npm run stop-test-setup",
"upgrade-make-initial-spec": ". ./scripts/network-spec && cd ./posdao-contracts && node ./scripts/make_pre_upgrade_spec.js && cd - && node ./scripts/copy-spec.js",
"upgrade-start-test-setup": "bash scripts/start-test-setup ../parity-ethereum/target/release/parity && (node scripts/watchOrdinaryNode.js &)",
"upgrade-prepare-fork": ". ./scripts/network-spec && cd ./posdao-contracts && node ./scripts/deploy_contracts_and_update_spec.js && cd - && npm run stop-test-setup && node ./scripts/copy-spec.js",
"upgrade-restart-test-setup": "bash scripts/start-test-setup ../parity-ethereum/target/release/parity && (node scripts/watchOrdinaryNode.js &)",
"upgrade-wait": "node scripts/waitForUpgrade.js",
"upgrade-deploy-staking-token": "node scripts/deploy-staking-token.js && (node scripts/watchRandomSeed &)"
},
"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",
"solc": "0.5.10",
"web3": "^1.2.1"
}
}