forked from zkopru-network/zkopru
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
156 lines (156 loc) · 5.61 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "zkopru",
"version": "1.0.0-beta.1",
"license": "GPL-3.0-or-later",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "yarn && yarn images pull && yarn build && lerna run gendata",
"postinstall": "lerna bootstrap && yarn clean && shx rm -rf packages/*/node_modules",
"images": "docker-compose -f compose/docker-compose.yml",
"images:pull": "docker-compose -f compose/docker-compose.yml pull",
"images:build": "docker-compose -f compose/docker-compose.yml build",
"images:push": "docker-compose -f compose/docker-compose.yml push",
"predevelop": "yarn build:ts && docker-compose -f docker-compose.dev.yml build",
"develop": "(sleep 10; open-cli http://localhost:4321) & (sleep 10; open-cli http://localhost:1234) & docker-compose -f docker-compose.dev.yml up --force-recreate -V",
"develop:instant": "yarn build:ts && docker-compose -f docker-compose.instant-block.yml up --build --force-recreate -V",
"build": "lerna run build:contract && yarn build:ts",
"build:ts": "lerna run --parallel build && yarn link-modules",
"build:ts:serial": "lerna run build && yarn link-modules",
"circuit:setup": "lerna run setup:build",
"build:contract": "lerna run --parallel build:contract",
"build:keys": "lerna run build-keys --scope=@zkopru/circuits",
"build:fresh": "yarn clean && shx rm -rf packages/*/node_modules && yarn build",
"clean": "lerna run --parallel clean && shx rm -rf packages/*/node_modules && shx rm -rf .build-cache *.log coverage junit.xml",
"clean:db": "shx rm -rf **/*/.mockup",
"test": "yarn test:parallel",
"test:parallel": "yarn test:serial --parallel",
"test:serial": "lerna run test --stream",
"test:trace": "LOG_LEVEL=trace PRINT_LOG=true yarn test:serial",
"posttest:all": "yarn clean:db",
"pretest:integrate": "docker-compose up -d --build",
"test:integrate": "lerna run test:integrate --parallel || true",
"posttest:integrate": "docker-compose down",
"test:ci": "jest --coverage --ci --reporters='jest-junit'",
"coverage": "jest --coverage",
"coverage:unit": "yarn test:unit --coverage",
"coverage:integration": "yarn test:integration --coverage",
"coverage:show": "live-server coverage",
"link-modules": "lerna run --parallel link-modules",
"lint": "eslint --ext js --ext ts --ext md",
"lint:ci": "yarn lint . --format junit",
"lint:md": "markdownlint --ignore node_modules --ignore .git",
"format": "yarn lint --fix",
"format:md": "yarn lint:md --fix",
"husky-skip": "cross-env HUSKY_SKIP_HOOKS=1",
"precommit": "lint-staged && lerna run --concurrency 1 --stream precommit --since HEAD",
"commit": "git cz"
},
"husky": {
"hooks": {
"pre-commit": "yarn precommit && yarn test:serial",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"linters": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add --force"
],
"*.md": [
"yarn format:md",
"git add --force"
]
},
"ignore": [
"packages/contracts/src"
]
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@truffle/artifactor": "^4.0.30",
"@typechain/web3-v1": "^2.2.0",
"@types/async-lock": "^1.1.1",
"@types/blessed": "^0.1.17",
"@types/bs58": "^4.0.1",
"@types/express": "^4.17.4",
"@types/figlet": "^1.2.0",
"@types/fs-extra": "^8.1.0",
"@types/hdkey": "^0.7.1",
"@types/jest": "^24.0.23",
"@types/js-yaml": "^3.12.5",
"@types/keccak": "^3.0.1",
"@types/node-fetch": "^2.5.7",
"@types/node-schedule": "^1.3.0",
"@types/pino": "^6.0.0",
"@types/pino-multi-stream": "^5.0.0",
"@types/prompts": "^2.0.8",
"@types/puppeteer": "^3.0.1",
"@types/shelljs": "^0.8.8",
"@types/tar": "^4.0.3",
"@types/tar-fs": "^2.0.0",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"bignumber.js": "^9.0.0",
"bn.js": "^5.2.0",
"circom": "0.5.42",
"circomlib": "0.5.1",
"commitizen": "^4.0.3",
"copyfiles": "^2.3.0",
"cross-env": "^6.0.3",
"cz-conventional-changelog": "^3.0.2",
"docker-compose": "^0.23.4",
"dotenv": "^10.0.0",
"eslint": "^6.4.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-import-resolver-lerna": "^1.1.0",
"eslint-import-resolver-typescript": "^1.1.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.9.0",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-truffle": "^0.3.1",
"eth-gas-reporter": "^0.2.16",
"ffjavascript": "0.2.22",
"fs-extra": "^9.0.0",
"husky": "^3.1.0",
"jest": "^24.7.1",
"jest-junit": "^10.0.0",
"lerna": "^3.13.2",
"link-module-alias": "^1.2.0",
"lint-staged": "^8.1.5",
"live-server": "^1.2.1",
"markdownlint-cli": "^0.22.0",
"merkle-tree-rollup": "^1.1.4",
"node-docker-api": "^1.1.22",
"open-cli": "^6.0.1",
"prettier": "^1.16.4",
"puppeteer": "^5.0.0",
"serve": "^11.2.0",
"shx": "^0.3.2",
"smt-rollup": "^0.6.3",
"snarkjs": "0.3.33",
"solc": "^0.6.4",
"solc5": "npm:[email protected]",
"solium": "^1.2.5",
"tar": "^6.0.2",
"tar-fs": "^2.1.0",
"truffle": "5.2.3",
"truffle-artifactor": "^4.0.30",
"ts-jest": "^24.2.0",
"ts-node-dev": "^1.0.0-pre.44",
"tsconfig-paths": "^3.9.0",
"typechain": "^4.0.3",
"typescript": "3.8.3",
"uuid": "^8.1.0"
},
"publishConfig": {
"access": "public"
}
}