aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json17
1 files changed, 12 insertions, 5 deletions
diff --git a/package.json b/package.json
index 457268454..b3b3e3bcc 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,9 @@
{
"private": true,
"name": "0x-monorepo",
- "workspaces": ["packages/*"],
+ "workspaces": [
+ "packages/*"
+ ],
"scripts": {
"dev": "lerna run --parallel build:watch",
"testrpc": "testrpc -p 8545 --networkId 50 -m \"${npm_package_config_mnemonic}\"",
@@ -9,21 +11,26 @@
"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",
+ "lerna:install": "yarn install",
"lerna:run": "lerna run",
- "lerna:rebuild": "lerna run clean; lerna run build;",
- "lerna:publish":
- "yarn install; lerna run clean; lerna run build; lerna publish --registry=https://registry.npmjs.org/"
+ "lerna:clean": "lerna run clean",
+ "lerna:build": "lerna run build",
+ "lerna:rebuild": "run-s lerna:clean lerna:build",
+ "lerna:publish": "run-s lerna:install lerna:rebuild script:publish",
+ "lerna:publish:dry": "run-s lerna:install lerna:rebuild script:publish:dry",
+ "script:publish": "node ./packages/monorepo-scripts/lib/publish.js",
+ "script:publish:dry": "IS_DRY_RUN=true yarn script:publish"
},
"config": {
"mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic"
},
"devDependencies": {
- "@0xproject/utils": "^0.4.2",
"async-child-process": "^1.1.1",
"coveralls": "^3.0.0",
"ethereumjs-testrpc": "^6.0.3",
"lcov-result-merger": "^2.0.0",
"lerna": "^2.5.1",
+ "npm-run-all": "^4.1.2",
"prettier": "^1.11.1"
}
}