mirror of
https://github.com/zkopru-network/zkopru.git
synced 2026-01-24 13:38:05 -05:00
129 lines
4.3 KiB
JSON
129 lines
4.3 KiB
JSON
{
|
|
"name": "zkopru",
|
|
"version": "0.0.1",
|
|
"license": "GPL-3.0-or-later",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"postinstall": "lerna bootstrap && yarn prep-containers",
|
|
"prep-containers": "make pull-dev-images",
|
|
"bootstrap": "lerna bootstrap && lerna link --force-local",
|
|
"build": "yarn build:contract && yarn build:ts && yarn build:keys",
|
|
"build:ts": "lerna run --parallel build && yarn link-modules",
|
|
"build:contract": "lerna run --parallel build:contract",
|
|
"build:keys": "lerna run build-keys --scope=@zkopru/dataset",
|
|
"build:fresh": "yarn clean && shx rm -rf packages/*/node_modules && yarn build",
|
|
"testnet": "yarn build:ts && docker-compose build && docker-compose up",
|
|
"clean": "lerna run --parallel clean && shx rm -rf packages/*/node_modules && shx rm -rf .build-cache *.log coverage junit.xml",
|
|
"test": "lerna run test --parallel",
|
|
"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'",
|
|
"test:unit": "jest packages/*/test/unit",
|
|
"test:integration": "jest packages/*/test/integration",
|
|
"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": "lerna run --concurrency 1 --stream precommit --since HEAD",
|
|
"commit": "git cz"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn precommit && yarn test",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"*.md": [
|
|
"yarn format:md",
|
|
"git add"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^8.1.0",
|
|
"@commitlint/config-conventional": "^8.1.0",
|
|
"@truffle/artifactor": "^4.0.30",
|
|
"@types/async-lock": "^1.1.1",
|
|
"@types/cli-progress": "^3.7.0",
|
|
"@types/express": "^4.17.4",
|
|
"@types/figlet": "^1.2.0",
|
|
"@types/follow-redirects": "^1.8.0",
|
|
"@types/fs-extra": "^8.1.0",
|
|
"@types/hdkey": "^0.7.1",
|
|
"@types/jest": "^24.0.23",
|
|
"@types/node-fetch": "^2.5.7",
|
|
"@types/node-schedule": "^1.3.0",
|
|
"@types/pino": "^6.0.0",
|
|
"@types/prompts": "^2.0.8",
|
|
"@types/tar": "^4.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^2.2.0",
|
|
"@typescript-eslint/parser": "^2.2.0",
|
|
"bignumber.js": "^9.0.0",
|
|
"bn.js": "^5.1.1",
|
|
"circom": "^0.5.11",
|
|
"circomlib": "^0.1.1",
|
|
"commitizen": "^4.0.3",
|
|
"cross-env": "^6.0.3",
|
|
"cz-conventional-changelog": "^3.0.2",
|
|
"docker-compose": "^0.23.3",
|
|
"eslint": "^6.1.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.1.3",
|
|
"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",
|
|
"prettier": "^1.16.4",
|
|
"serve": "^11.2.0",
|
|
"shx": "^0.3.2",
|
|
"smt-rollup": "^0.6.3",
|
|
"snarkjs": "^0.1.25",
|
|
"solc": "^0.6.4",
|
|
"solc5": "npm:solc@0.5.15",
|
|
"solium": "^1.2.5",
|
|
"tar": "^6.0.2",
|
|
"truffle": "^5.1.19",
|
|
"truffle-artifactor": "^4.0.30",
|
|
"ts-jest": "^24.2.0",
|
|
"ts-node-dev": "^1.0.0-pre.44",
|
|
"tsconfig-paths": "^3.9.0",
|
|
"typechain": "^1.0.5",
|
|
"typechain-target-web3-v1": "^1.0.4",
|
|
"typescript": "^3.4.3"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|