{
    "private": true,
    "name": "@0x/protocol-repo",
    "engines": {
        "node": ">=6.12"
    },
    "workspaces": [
        "packages/*",
        "contracts/*"
    ],
    "scripts": {
        "deps_versions:ci": "node ./node_modules/@0x/monorepo-scripts/lib/deps_versions.js",
        "fix": "wsrun --fast-exit --parallel --exclude-missing -p $PKG -c fix",
        "ganache": "ganache-cli -p 8545 --gasLimit 10000000 --networkId 50 -m \"${npm_package_config_mnemonic}\"",
        "prettier": "prettier --write '**/*.{ts,tsx,json}' --config .prettierrc",
        "prettier:ci": "prettier --list-different '**/*.{ts,tsx,json}' --config .prettierrc",
        "report_coverage": "lcov-result-merger './packages/*/coverage/lcov.info' | coveralls",
        "test:installation": "node ./node_modules/@0x/monorepo-scripts/lib/test_installation.js",
        "test:installation:local": "IS_LOCAL_PUBLISH=true node ./node_modules/@0x/monorepo-scripts/lib/test_installation.js",
        "test:publish:circleci": "yarn npm-cli-login -u test -p test -e test@example.com -r http://localhost:4873 && IS_LOCAL_PUBLISH=true run-s script:publish test:installation:local",
        "run:publish": "run-s install:all script:prepublish_checks rebuild script:publish",
        "run:publish:local": "IS_LOCAL_PUBLISH=true yarn run:publish",
        "run:publish:gha": "run-s build script:publish:gha",
        "script:prepublish_checks": "node ./node_modules/@0x/monorepo-scripts/lib/prepublish_checks.js",
        "script:publish": "node ./node_modules/@0x/monorepo-scripts/lib/publish.js --repo protocol --doc-gen-config ./doc-gen-config.json",
        "script:publish:gha": "node ./node_modules/@0x/monorepo-scripts/lib/publish.js --repo protocol --auto-commit --no-upload-docs --yes --doc-gen-config ./doc-gen-config.json --prerelease \"${PUBLISH_PRERELEASE}\"",
        "install:all": "yarn install",
        "wsrun": "wsrun",
        "lerna": "lerna",
        "build": "lerna link && wsrun -r --stages --fast-exit --exclude-missing -p $PKG -c build",
        "build:ci": "lerna link && wsrun --fast-exit -r --stages --exclude-missing -p $PKG -c build:ci",
        "build:contracts": "lerna link && wsrun -p ${npm_package_config_contractsPackages} --fast-exit -r --stages --exclude-missing -c build",
        "build:ts": "tsc -b",
        "watch:ts": "tsc -b -w",
        "clean": "wsrun --fast-exit -r --parallel --exclude-missing -p $PKG -c clean",
        "contracts:watch": "wsrun --parallel --exclude-missing -p $PKG -c watch",
        "remove_node_modules": "lerna clean --yes; rm -rf node_modules",
        "rebuild": "run-s clean build",
        "test": "wsrun --fast-exit --serial --exclude-missing -p $(echo $(echo ${npm_package_config_contractsPackages} ${npm_package_config_nonContractPackages} | tr ' ' '\n' | sort | uniq) ${npm_package_config_ignoreTestsForPackages} | tr ' ' '\n' | sort | uniq -u | tr '\n' ' ') -c test",
        "test:all": "wsrun --fast-exit --serial --exclude-missing -p $PKG -c test",
        "test:contracts": "wsrun --serial -p $(echo ${npm_package_config_contractsPackages} ${npm_package_config_ignoreTestsForPackages} | tr ' ' '\n' | sort | uniq -u | tr '\n' ' ') --fast-exit --exclude-missing -c test",
        "test:contracts:all": "wsrun --serial -p ${npm_package_config_contractsPackages} --fast-exit --exclude-missing -c test",
        "generate_doc": "node ./node_modules/@0x/monorepo-scripts/lib/doc_generate.js --config ./doc-gen-config.json",
        "upload_md_docs": "aws s3 rm --recursive s3://docs-markdown; wsrun --exclude-missing -c s3:sync_md_docs",
        "diff_md_docs:ci": "wsrun --exclude-missing -c diff_docs",
        "test:generate_docs:circleci": "for i in ${npm_package_config_packagesWithDocPages}; do yarn generate_doc --package $i || break -1; done;",
        "bundlewatch": "bundlewatch",
        "lint": "wsrun --fast-exit --parallel --exclude-missing -p $PKG -c lint",
        "upgrade_org_deps": "node node_modules/@0x/monorepo-scripts/lib/upgrade_deps.js -p '@0x/|ethereum-types'",
        "upgrade_deps": "node node_modules/@0x/monorepo-scripts/lib/upgrade_deps.js",
        "verdaccio": "docker run --rm -i -p 4873:4873 0xorg/verdaccio"
    },
    "config": {
        "contractsPackages": "@0x/contracts-erc20 @0x/contracts-test-utils @0x/contracts-utils @0x/contracts-zero-ex @0x/contracts-treasury",
        "nonContractPackages": "@0x/migrations @0x/contract-wrappers @0x/contract-addresses @0x/contract-artifacts @0x/contract-wrappers-test @0x/asset-swapper",
        "ignoreTestsForPackages": "",
        "mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic",
        "packagesWithDocPages": "@0x/contract-wrappers @0x/migrations",
        "ignoreDependencyVersions": "@types/styled-components @types/node",
        "ignoreDependencyVersionsForPackage": "contract-wrappers"
    },
    "devDependencies": {
        "@0x/monorepo-scripts": "^3.2.0",
        "@0x-lerna-fork/lerna": "3.16.10",
        "@0xproject/npm-cli-login": "^0.0.11",
        "async-child-process": "^1.1.1",
        "coveralls": "^3.0.0",
        "ganache-cli": "6.8.0-istanbul.0",
        "lcov-result-merger": "^3.0.0",
        "lerna": "^3.0.0-beta.25",
        "npm-run-all": "^4.1.2",
        "prettier": "1.19.1",
        "source-map-support": "^0.5.6",
        "typescript": "4.2.2",
        "wsrun": "^5.2.4"
    },
    "resolutions": {
        "merkle-patricia-tree": "^2.3.2"
    }
}
