Tweak metro publish script

Reviewed By: mjesun

Differential Revision: D7292432

fbshipit-source-id: 5dffcbac72e5ddb53af80e08b118025196e8ef28
This commit is contained in:
Rafael Oleza 2018-03-15 15:28:01 -07:00 committed by Facebook Github Bot
parent f231396260
commit d09c99a6a0
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@
"lint": "eslint . --cache",
"lint-fix": "eslint . --fix --cache",
"postinstall": "node ./scripts/build.js",
"publish": "yarn run build-clean && yarn run build && lerna run prepare-release && lerna exec -- npm publish",
"publish": "yarn run build-clean && yarn run build && lerna run prepare-release && yarn run publish-packages",
"publish-packages": "(set -e; for dir in packages/*; do (cd \"$dir\" && npm publish); done)",
"postpublish": "lerna run cleanup-release",
"test-ci": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest-coverage -i && node scripts/mapCoverage.js && codecov",
"test": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest",