aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-02 04:39:04 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-02 04:39:04 +0800
commit2f8e52f9057b98b5f60dc3ec3428b024739a2997 (patch)
tree94db9ee29af85315426744662e3b6a8a02ed7fa7 /package.json
parent06e5fc233c512d152d61c4acbed8d9344e769abe (diff)
downloaddexon-sol-tools-2f8e52f9057b98b5f60dc3ec3428b024739a2997.tar
dexon-sol-tools-2f8e52f9057b98b5f60dc3ec3428b024739a2997.tar.gz
dexon-sol-tools-2f8e52f9057b98b5f60dc3ec3428b024739a2997.tar.bz2
dexon-sol-tools-2f8e52f9057b98b5f60dc3ec3428b024739a2997.tar.lz
dexon-sol-tools-2f8e52f9057b98b5f60dc3ec3428b024739a2997.tar.xz
dexon-sol-tools-2f8e52f9057b98b5f60dc3ec3428b024739a2997.tar.zst
dexon-sol-tools-2f8e52f9057b98b5f60dc3ec3428b024739a2997.zip
Move prepublish checks before building packages for publishing
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/package.json b/package.json
index cdbc7a385..8c51ee017 100644
--- a/package.json
+++ b/package.json
@@ -13,8 +13,9 @@
"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 rebuild script:publish",
- "run:publish:dry": "run-s install:all rebuild script:publish:dry",
+ "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",
@@ -22,6 +23,7 @@
"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 --fast-exit --serial --exclude-missing",