diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-02 06:50:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-02 06:50:13 +0800 |
commit | bf6900fb2a991f2c252bc7f8594364925a6046e1 (patch) | |
tree | 6030b3125e817d6fac86e4c797721531c24efcb1 /package.json | |
parent | c41846805d71983fd4232c5eb796715c3d776d25 (diff) | |
parent | 50552546f392214726e6b969a72c04f320486b16 (diff) | |
download | dexon-sol-tools-bf6900fb2a991f2c252bc7f8594364925a6046e1.tar dexon-sol-tools-bf6900fb2a991f2c252bc7f8594364925a6046e1.tar.gz dexon-sol-tools-bf6900fb2a991f2c252bc7f8594364925a6046e1.tar.bz2 dexon-sol-tools-bf6900fb2a991f2c252bc7f8594364925a6046e1.tar.lz dexon-sol-tools-bf6900fb2a991f2c252bc7f8594364925a6046e1.tar.xz dexon-sol-tools-bf6900fb2a991f2c252bc7f8594364925a6046e1.tar.zst dexon-sol-tools-bf6900fb2a991f2c252bc7f8594364925a6046e1.zip |
Merge pull request #650 from 0xProject/feature/publishing
Improve publishing flow
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
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", |