forked from AutarkLabs/open-enterprise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 6.2 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"private": true,
"name": "planning-suite-monorepo",
"devDependencies": {
"@commitlint/cli": "^8.3.4",
"@commitlint/config-conventional": "^8.3.4",
"coveralls": "3.0.2",
"cypress": "^3.1.5",
"husky": "^3.0.0",
"lerna": "^3.10.8",
"truffle-privatekey-provider": "1.1.0",
"wait-on": "^3.2.0",
"web3": "^1.2.4"
},
"scripts": {
"bootstrap": "lerna bootstrap --hoist",
"build:apps": "npm run build:app:address && npm run build:app:allocations && npm run build:app:discussions && npm run build:app:dot && npm run build:app:projects && npm run build:app:rewards",
"build:app:address": "lerna run build:app --scope=@autarklabs/apps-address-book",
"build:app:allocations": "lerna run build:app --scope=@autarklabs/apps-allocations",
"build:app:discussions": "lerna run build:app --scope=@autarklabs/apps-discussions",
"build:app:dot": "lerna run build:app --scope=@autarklabs/apps-dot-voting",
"build:app:projects": "lerna run build:app --scope=@autarklabs/apps-projects",
"build:app:rewards": "lerna run build:app --scope=@autarklabs/apps-rewards",
"build:script:address": "lerna run build:script --scope=@autarklabs/apps-address-book",
"build:script:allocations": "lerna run build:script --scope=@autarklabs/apps-allocations",
"build:script:discussions": "lerna run build:script --scope=@autarklabs/apps-discussions",
"build:script:dot": "lerna run build:script --scope=@autarklabs/apps-dot-voting",
"build:script:projects": "lerna run build:script --scope=@autarklabs/apps-projects",
"build:script:rewards": "lerna run build:script --scope=@autarklabs/apps-rewards",
"clean:aragon": "rm -rf ~/.aragon && rm -rf ~/.ipfs",
"clean:build": "npm run clean -- $npm_package_build_exclude_pattern",
"clean": "git clean -fXd",
"coverage": "lerna run coverage --no-bail",
"coveralls": "cat */*/coverage/lcov.info | coveralls",
"cypress:open": "cypress open",
"cypress:run": "wait-on http://localhost:3000/#/dev-dao-0 && cypress run --browser chrome",
"cypress": "CYPRESS=true apps/shared/test-helpers/ganache-cli.sh",
"deploy:apps:rinkeby": "lerna run --scope='@autarklabs/apps-*' deploy:rinkeby --stream",
"deploy:apps:rpc": "lerna run --scope='@autarklabs/apps-*' deploy:rpc --stream",
"deploy:apps:staging": "lerna run --scope='@autarklabs/apps-*' deploy:staging --stream",
"deploy:kit:rinkeby": "lerna run --scope='@autarklabs/kits-*' deploy:kit:rinkeby --stream",
"deploy:kit:rpc": "lerna run --scope='@autarklabs/kits-*' deploy:kit:rpc --stream",
"deploy:kit:staging": "lerna run --scope='@autarklabs/kits-*' deploy:kit:staging --stream",
"deploy:rinkeby": "npm run deploy:apps:rinkeby && npm run deploy:kit:rinkeby",
"deploy:rpc": "npm run deploy:apps:rpc && npm run deploy:kit:rpc",
"deploy:staging": "npm run deploy:apps:staging && npm run deploy:kit:staging",
"dev": "apps/shared/test-helpers/develop-kit.sh",
"devchain:reset": "aragon devchain --reset",
"devchain": "lerna run devchain --stream",
"frontend": "lerna run frontend --parallel",
"frontend:address": "cd apps/address-book && npm run frontend",
"frontend:allocations": "cd apps/allocations && npm run frontend",
"frontend:dot": "cd apps/dot-voting && npm run frontend",
"frontend:projects": "cd apps/projects && npm run frontend",
"frontend:rewards": "cd apps/rewards && npm run frontend",
"lint:address": "cd apps/address-book && npm run lint",
"lint:allocations": "cd apps/allocations && npm run lint",
"lint:contracts": "lerna run --scope='@autarklabs/apps-*' --scope='@autarklabs/*' lint --stream",
"lint:dot": "cd apps/dot-voting && npm run lint",
"lint:fix": "lerna exec --scope=@autarklabs/apps-* --stream -- eslint app --fix",
"lint:projects": "cd apps/projects && npm run lint",
"lint": "npm run lint:contracts && lerna exec --scope=@autarklabs/apps-* --stream -- eslint app",
"mine": "lerna exec --scope=@autarklabs/test-helpers truffle exec ./mine.js",
"postinstall": "npm run bootstrap",
"publish:cd": "lerna run publish:cd --no-ci --stream --no-bail --scope=@autarklabs/apps*",
"publish:apps": "lerna run publish",
"publish:http": "lerna run --scope='@autarklabs/apps-*' publish:http --stream",
"recoverTemplate": "cd templates/open-enterprise && npm run recover:tx",
"restart": "RESTART_KIT=true apps/shared/test-helpers/ganache-cli.sh",
"start:kit": "cd apps/planning-suite-kit && npm run start:kit",
"start:kit:no:client": "cd apps/planning-suite-kit && npm run start:kit:no:client",
"start:template": "cd templates/open-enterprise && npm run publish:aragen && npm run start:template:aragen",
"start:dev-template": "cd templates/dev && npm run publish:aragen && npm run start:template:aragen",
"start:address": "cd apps/address-book && npm start",
"start:allocations": "cd apps/allocations && npm start",
"start:dev": "DEV=true apps/shared/test-helpers/ganache-cli.sh",
"start:no:client": "NO_CLIENT=true apps/shared/test-helpers/ganache-cli.sh",
"start:dot": "cd apps/dot-voting && npm start",
"start:projects": "cd apps/projects && npm start",
"start:rpc": "lerna run --scope='@autarklabs/kits-*' start:rpc --stream",
"start:staging": "lerna run --scope='@autarklabs/kits-*' start:staging --stream",
"start:rinkeby": "lerna run --scope='@autarklabs/kits-*' start:rinkeby --stream",
"start": "npm run start:rpc",
"test:address": "cd apps/address-book && npm test",
"test:allocations": "cd apps/allocations && npm test",
"test:dot": "cd apps/dot-voting && npm test",
"test:gas": "lerna run test:gas",
"test:projects": "cd apps/projects && npm test",
"test:rewards": "cd apps/rewards && npm test",
"test:autarklabs": "lerna run --scope=@autarklabs/kits-planning-suite --stream test",
"test": "lerna run test --scope=@autarklabs/apps-* --scope=@autarklabs/* --no-bail --concurrency=1"
},
"dependencies": {
"ipfs-http-client": "29.1.0",
"rxjs": "^6.4.0",
"rxjs-compat": "^6.4.0"
},
"husky": {
"hooks": {
"pre-commit": "lerna run --concurrency 1 --stream precommit",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"build_exclude_pattern": "-e !node_modules -e !**/node_modules/**/*"
}