aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-15 01:23:50 +0800
committerFabio Berger <me@fabioberger.com>2018-05-15 01:23:50 +0800
commit478f6ed011185b66ac87323c6d9ad1f598060760 (patch)
tree09c4619287e0fc874c0258f722f543b7c6ce7f5e /package.json
parentc94d1b22754c1d1bf10f0dd2b9c13eea91e17cb6 (diff)
downloaddexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar.gz
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar.bz2
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar.lz
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar.xz
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar.zst
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.zip
Move from using lerna multi-package commands to wsrun, update README's accordingly
Diffstat (limited to 'package.json')
-rw-r--r--package.json26
1 files changed, 14 insertions, 12 deletions
diff --git a/package.json b/package.json
index 3f2486656..231371623 100644
--- a/package.json
+++ b/package.json
@@ -5,23 +5,24 @@
"packages/*"
],
"scripts": {
- "dev": "lerna run --parallel build:watch",
"testrpc": "testrpc -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",
- "lerna:install": "yarn install",
- "lerna:run": "lerna run",
- "lerna:test": "lerna run test",
- "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",
- "lerna:stage_docs": "lerna run docs:stage",
+ "publish": "run-s install rebuild script:publish",
+ "publish:dry": "run-s install rebuild script:publish:dry",
"script:publish": "node ./packages/monorepo-scripts/lib/publish.js",
- "script:publish:dry": "IS_DRY_RUN=true yarn script:publish"
+ "script:publish:dry": "IS_DRY_RUN=true yarn script:publish",
+ "install": "yarn install",
+ "wsrun": "wsrun",
+ "watch": "wsrun watch $PKG -r --stages --done-criteria='complete|successfully'",
+ "build": "wsrun build $PKG -r --stages",
+ "clean": "wsrun clean $PKG -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"
@@ -33,6 +34,7 @@
"lcov-result-merger": "^2.0.0",
"lerna": "^2.5.1",
"npm-run-all": "^4.1.2",
- "prettier": "^1.11.1"
+ "prettier": "^1.11.1",
+ "wsrun": "^2.2.0"
}
}