47 lines
2.1 KiB
JSON
47 lines
2.1 KiB
JSON
{
|
|
"private": true,
|
|
"name": "0x-monorepo",
|
|
"engines": {
|
|
"node" : ">=6.12"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"ganache": "ganache-cli -p 8545 --networkId 50 -m \"${npm_package_config_mnemonic}\"",
|
|
"prettier": "prettier --write '**/*.{ts,tsx,json,md}' --config .prettierrc",
|
|
"prettier:ci": "prettier --list-different '**/*.{ts,tsx,json,md}' --config .prettierrc",
|
|
"report_coverage": "lcov-result-merger 'packages/*/coverage/lcov.info' | coveralls",
|
|
"test:installation": "node ./packages/monorepo-scripts/lib/test_installation.js",
|
|
"run:publish": "run-s install:all build:monorepo_scripts script:prepublish_checks rebuild script:publish",
|
|
"run:publish:dry": "run-s install:all build:monorepo_scripts script:prepublish_checks rebuild script:publish:dry",
|
|
"script:prepublish_checks": "node ./packages/monorepo-scripts/lib/prepublish_checks.js",
|
|
"script:publish": "node ./packages/monorepo-scripts/lib/publish.js",
|
|
"script:publish:dry": "IS_DRY_RUN=true yarn script:publish",
|
|
"install:all": "yarn install",
|
|
"wsrun": "wsrun",
|
|
"lerna:run": "lerna run",
|
|
"watch": "wsrun watch $PKG --fast-exit -r --stages --done-criteria='complete|successfully'",
|
|
"build": "wsrun build $PKG --fast-exit -r --stages",
|
|
"build:monorepo_scripts": "PKG=@0xproject/monorepo-scripts yarn build",
|
|
"clean": "wsrun clean $PKG --fast-exit -r --parallel",
|
|
"rebuild": "run-s clean build",
|
|
"test": "wsrun test $PKG --serial --exclude-missing",
|
|
"stage_docs": "wsrun docs:stage $PKG --parallel --exclude-missing",
|
|
"lint": "wsrun lint $PKG --parallel --exclude-missing"
|
|
},
|
|
"config": {
|
|
"mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic"
|
|
},
|
|
"devDependencies": {
|
|
"async-child-process": "1.1.1",
|
|
"coveralls": "^3.0.0",
|
|
"ganache-cli": "^6.1.0",
|
|
"lcov-result-merger": "^2.0.0",
|
|
"lerna": "^2.5.1",
|
|
"npm-run-all": "4.1.2",
|
|
"prettier": "1.12.1",
|
|
"wsrun": "^2.2.0"
|
|
}
|
|
}
|