mirror of
https://github.com/zkopru-network/zkopru.git
synced 2026-01-13 08:27:54 -05:00
157 lines
5.6 KiB
JSON
157 lines
5.6 KiB
JSON
{
|
|
"name": "zkopru",
|
|
"version": "2.0.0-beta.8",
|
|
"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 compose/docker-compose.dev.yml build",
|
|
"develop": "(sleep 10; open-cli http://localhost:4321) & (sleep 10; open-cli http://localhost:1234) & docker-compose -f compose/docker-compose.dev.yml up --force-recreate -V",
|
|
"develop:instant": "yarn build:ts && docker-compose -f compose/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:solc@0.5.15",
|
|
"solium": "^1.2.5",
|
|
"tar": "^6.0.2",
|
|
"tar-fs": "^2.1.0",
|
|
"truffle": "5.4.10",
|
|
"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"
|
|
}
|
|
}
|