This repository was archived by the owner on Jan 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 2.7 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 2.7 KB
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
{
"name": "@gooddollar/tools",
"version": "0.0.1",
"description": "GoodDollar's development tools",
"homepage": "https://gooddollar.org",
"license": "MIT",
"author": "GoodDollar Community <builders@gooddollar.org>",
"engines": {
"node": ">=10.0.0",
"npm": ">=6.0.0"
},
"scripts": {
"bootstrap": "lerna bootstrap --no-ci --concurrency 3",
"postinstall": "npm run init-submodules && npm run update-submodules && npm run master-submodules && npm run bootstrap && npm run linkcontracts",
"linkcontracts": "cd packages/contracts && npm link && cd ../server && npm link @gooddollar/goodcontracts && cd ../dapp && npm link @gooddollar/goodcontracts",
"logs:reset": "pm2 flush /good-/ || true",
"logs:blockchain": "pm2 logs good-blockchain --lines 1000",
"logs:dapp": "pm2 logs good-dapp --lines 1000",
"logs:server": "pm2 logs good-server --lines 1000 --json",
"logs:gun": "pm2 logs good-gun --lines 1000 --json",
"dashboard": "pm2 dashboard",
"info:blockchain": "pm2 describe good-blockchain",
"info:dapp": "pm2 describe good-dapp",
"info:server": "pm2 describe good-server",
"info:gun": "pm2 describe good-gun",
"status": "pm2 list /good-/",
"start": "pm2 start --only good-blockchain,good-gun && sleep 60 && npm run linkcontracts && pm2 start --only good-server,good-dapp && pm2 logs",
"start:all": "run-p start:blockchain start:dapp start:server",
"start:blockchain": "lerna run start --scope @gooddollar/goodcontracts --stream",
"start:dapp": "lerna run web:local --scope @gooddollar/gooddapp --stream",
"start:server": "lerna run dev:local --scope @gooddollar/goodserver --stream",
"start:gun": "lerna run dev:local --scope @gooddollar/goodgun --stream",
"Xpoststart": "lerna run deploy --scope @gooddollar/goodcontracts --stream",
"stop": "pm2 stop /good-/ --silent || true",
"stop:blockchain": "pm2 stop good-blockchain || true",
"stop:dapp": "pm2 stop good-dapp || true",
"stop:server": "pm2 stop good-server || true",
"stop:gun": "pm2 stop good-gun || true",
"restart": "npm run linkcontracts && pm2 restart /good-/ || true",
"reset": "npm run logs:reset && pm2 delete /good-/ || true",
"update-submodules": "git submodule update --remote --merge",
"init-submodules": "git submodule init",
"master-submodules": "git submodule foreach -q --recursive 'git checkout $(git config -f ../../.gitmodules submodule.$name.branch || echo master)'",
"start:serveo": "ssh -R gddapp:80:localhost:3000 -R gdserver:80:localhost:3003 -R gdchain:80:localhost:9545 serveo.net"
},
"dependencies": {
"dotenv": "^6.2.0",
"lerna": "^3.13.0",
"npm-run-all": "^4.1.5",
"pm2": "^3.3.0",
"wait-on": "^3.2.0"
}
}