-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
65 lines (65 loc) · 4.22 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "potlock-core",
"version": "1.0.0",
"description": "PotLock Core Contracts",
"main": "index.js",
"repository": "[email protected]:PotLock/core.git",
"author": "Lachlan Glen <[email protected]>",
"license": "MIT",
"scripts": {
"build:donation": "cd donation && ./scripts/build.sh && cd ..",
"build:lists": "cd lists && ./scripts/build.sh && cd ..",
"build:pot": "cd pot && ./scripts/build.sh && cd ..",
"build:potfactory": "cd pot_factory && ./scripts/build.sh && cd ..",
"build:registry": "cd registry && ./scripts/build.sh && cd ..",
"build:sybil": "cd sybil && ./scripts/build.sh && cd ..",
"build:sybilprovider": "cd sybil_provider_simulator && ./scripts/build.sh && cd ..",
"dev:deploy:donation": "cd donation && ./scripts/deploy.sh && cd .. && yarn patch:config donation",
"dev:deploy:donation:refresh": "cd donation && rm -rf neardev && ./scripts/deploy.sh && cd .. && yarn patch:config donation",
"dev:deploy:lists": "cd lists && ./scripts/deploy.sh && cd .. && yarn patch:config lists",
"dev:deploy:lists:refresh": "cd lists && rm -rf neardev && ./scripts/deploy.sh && cd .. && yarn patch:config lists",
"dev:deploy:pot": "cd pot && ./scripts/deploy.sh && cd ..",
"dev:deploy:pot:refresh": "cd pot && rm -rf neardev && ./scripts/deploy.sh && cd .. && yarn patch:config pot",
"dev:deploy:potfactory": "cd pot_factory && ./scripts/deploy.sh && cd ..",
"dev:deploy:potfactory:refresh": "cd pot_factory && rm -rf neardev && ./scripts/deploy.sh && cd .. && yarn patch:config pot_factory",
"dev:deploy:registry": "cd registry && ./scripts/deploy.sh && cd .. && yarn patch:config registry",
"dev:deploy:registry:refresh": "cd registry && rm -rf neardev && ./scripts/deploy.sh && cd .. && yarn patch:config registry",
"dev:deploy:sybil": "cd sybil && ./scripts/deploy.sh && cd .. && yarn patch:config sybil",
"dev:deploy:sybil:refresh": "cd sybil && rm -rf neardev && ./scripts/deploy.sh && cd .. && yarn patch:config sybil",
"dev:deploy:sybilprovider": "cd sybil_provider_simulator && ./scripts/deploy.sh && cd .. && yarn patch:config sybil_provider_simulator",
"dev:deploy:sybilprovider:refresh": "cd sybil_provider_simulator && rm -rf neardev && ./scripts/deploy.sh && cd .. && yarn patch:config sybil_provider_simulator",
"test": "mocha --require ts-node/register --timeout 240000",
"test:all": "yarn test test/**/contract.test.ts",
"test:donation": "yarn test test/donation/contract.test.ts",
"test:pot": "yarn test test/pot/contract.test.ts",
"test:potfactory": "yarn test test/pot_factory/contract.test.ts",
"test:registry": "yarn test test/registry/contract.test.ts",
"test:sybil": "yarn test test/sybil/contract.test.ts",
"works:donation": "yarn build:donation && yarn dev:deploy:donation && yarn test:donation",
"works:donation:refresh": "yarn build:donation && yarn dev:deploy:donation:refresh && yarn test:donation",
"works:lists": "yarn build:lists && yarn dev:deploy:lists && yarn test:lists",
"works:lists:refresh": "yarn build:lists && yarn dev:deploy:lists:refresh && yarn test:lists",
"works:pot": "yarn build:pot && yarn dev:deploy:pot && yarn test:pot",
"works:pot:refresh": "yarn build:pot && yarn dev:deploy:pot:refresh && yarn test:pot",
"works:potfactory": "yarn build:potfactory && yarn dev:deploy:potfactory && yarn test:potfactory",
"works:potfactory:refresh": "yarn build:potfactory && yarn dev:deploy:potfactory:refresh && yarn test:potfactory",
"works:registry": "yarn build:registry && yarn dev:deploy:registry && yarn test:registry",
"works:registry:refresh": "yarn build:registry && yarn dev:deploy:registry:refresh && yarn test:registry",
"works:sybil": "yarn build:sybil && yarn dev:deploy:sybil && yarn test:sybil",
"works:sybil:refresh": "yarn build:sybil && yarn dev:deploy:sybil:refresh && yarn test:sybil",
"patch:config": "node ./test/utils/patch-config.mjs"
},
"devDependencies": {
"@types/bn.js": "^5.1.2",
"@types/mocha": "^10.0.1",
"@types/node": "^20.6.0",
"mocha": "^10.2.0",
"near-api-js": "^2.1.4",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"big.js": "^6.2.1",
"near-cli": "^3.4.2"
}
}