aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json16
1 files changed, 12 insertions, 4 deletions
diff --git a/package.json b/package.json
index 2b1f04802..e1c876bd8 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,10 +11,15 @@
"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; yarn lerna:rebuild; IS_DRY_RUN=false node ./packages/monorepo-scripts/lib/publish.js"
+ "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=false yarn script:publish"
},
"config": {
"mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic"
@@ -23,6 +30,7 @@
"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"
}
}