aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-02 16:33:13 +0800
committerGitHub <noreply@github.com>2018-04-02 16:33:13 +0800
commit40ab2de393a1c9e87c0df4c72dc7c76fe60eb720 (patch)
tree38c6f9b4b391a1a9b4dc94d8fe7ffecf8091eed8 /package.json
parenta220b56736bcacfcce045329c99091af5932e723 (diff)
parent723276ae3fe460ebb89b9b0948c3423e021e2cf9 (diff)
downloaddexon-0x-contracts-40ab2de393a1c9e87c0df4c72dc7c76fe60eb720.tar.gz
dexon-0x-contracts-40ab2de393a1c9e87c0df4c72dc7c76fe60eb720.tar.zst
dexon-0x-contracts-40ab2de393a1c9e87c0df4c72dc7c76fe60eb720.zip
Merge pull request #489 from 0xProject/refactor/publishProcess
Automate NPM Publish Process
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"
}
}