Files
zkopru/package.json
2023-01-11 23:52:11 +09:00

173 lines
6.1 KiB
JSON

{
"nams": "zkopru",
"version": "2.0.0-beta.8",
"private": true,
"license": "GPL-3.0-or-later",
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "yarn && yarn images pull && yarn build && lerna run gendata",
"build": "yarn build:ts",
"build:fresh": "yarn clean && shx rm -rf packages/*/node_modules && yarn build",
"build:keys": "lerna run build-keys --scope=@zkopru/circuits",
"build:ts": "lerna run --parallel build && yarn link-modules",
"build:ts:serial": "lerna run build && yarn link-modules",
"circuit:setup": "lerna run setup: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",
"precommit": "lint-staged && lerna run --concurrency 1 --stream precommit --since HEAD",
"commit": "git cz",
"coverage": "jest --coverage",
"coverage:integration": "yarn test:integration --coverage",
"coverage:show": "live-server coverage",
"coverage:unit": "yarn test:unit --coverage",
"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",
"format": "yarn lint --fix",
"format:md": "yarn lint:md --fix",
"husky-skip": "cross-env HUSKY_SKIP_HOOKS=1",
"images": "docker-compose -f compose/docker-compose.yml",
"images:build": "docker-compose -f compose/docker-compose.yml build",
"images:pull": "docker-compose -f compose/docker-compose.yml pull",
"images:push": "docker-compose -f compose/docker-compose.yml push",
"postinstall": "yarn workspace @zkopru/circuits download-keys && yarn clean",
"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",
"posttest:all": "yarn clean:db",
"test": "yarn test:parallel",
"test:ci": "jest --coverage --ci --reporters='jest-junit'",
"test:integration": "yarn workspace @zkopru/integration-test test",
"test:integration:debug": "LOG_LEVEL=debug yarn workspace @zkopru/integration-test test",
"test:parallel": "yarn test:serial --parallel",
"test:serial": "lerna run test --stream",
"test:trace": "LOG_LEVEL=trace yarn test:serial",
"test:debug": "LOG_LEVEL=debug yarn test:serial"
},
"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",
"@nomiclabs/hardhat-ethers": "^2.0.3",
"@nomiclabs/hardhat-etherscan": "^2.1.8",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@truffle/artifactor": "^4.0.54",
"@typechain/ethers-v5": "^7.2.0",
"@typechain/hardhat": "^2.3.1",
"@types/async-lock": "^1.1.1",
"@types/blessed": "^0.1.17",
"@types/bs58": "^4.0.1",
"@types/chai": "^4.3.0",
"@types/express": "^4.17.4",
"@types/figlet": "^1.2.0",
"@types/fs-extra": "^8.1.0",
"@types/hdkey": "^0.7.1",
"@types/jest": "27.0.2",
"@types/js-yaml": "^3.12.5",
"@types/keccak": "^3.0.1",
"@types/mocha": "^9.0.0",
"@types/node": "^12.20.37",
"@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": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"bignumber.js": "^9.0.0",
"bn.js": "^5.2.0",
"chai": "^4.3.4",
"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": "^8.12.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-standard": "^16.0.3",
"eslint-import-resolver-lerna": "^1.1.0",
"eslint-import-resolver-typescript": "^1.1.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "25.3.0",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^5.2.0",
"eth-gas-reporter": "^0.2.16",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.2",
"ffjavascript": "0.2.22",
"fs-extra": "^9.0.0",
"hardhat": "^2.8.0",
"hardhat-gas-reporter": "^1.0.6",
"husky": "^3.1.0",
"jest": "27.0.6",
"jest-junit": "12.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",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"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",
"solhint": "^3.3.6",
"solidity-coverage": "^0.7.17",
"solium": "^1.2.5",
"tar": "^6.0.2",
"tar-fs": "^2.1.0",
"truffle-artifactor": "^4.0.30",
"ts-jest": "27.0.6",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.0.0-pre.44",
"tsconfig-paths": "^3.9.0",
"typechain": "^5.2.0",
"typescript": "^4.6.2",
"uuid": "^8.1.0"
},
"publishConfig": {
"access": "public"
}
}