mirror of https://github.com/status-im/metro.git
Use npm to publish metro
Reviewed By: mjesun Differential Revision: D7335671 fbshipit-source-id: a8007b514b9efd5ff1fdabf73f08cd423be84b43
This commit is contained in:
parent
6aed6433b0
commit
c5582d073d
|
@ -80,7 +80,7 @@ jobs:
|
|||
- save-cache: *save-cache
|
||||
- run:
|
||||
working_directory: ~/metro
|
||||
command: yarn run publish
|
||||
command: npm run publish
|
||||
test-and-deploy-website:
|
||||
working_directory: ~/metro
|
||||
docker:
|
||||
|
|
|
@ -48,8 +48,7 @@
|
|||
"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 && yarn run publish-packages",
|
||||
"publish-packages": "(set -e; for dir in packages/*; do (cd \"$dir\" && npm publish); done)",
|
||||
"publish": "yarn run build-clean && yarn run build && lerna run prepare-release && lerna exec -- npm publish",
|
||||
"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",
|
||||
|
|
Loading…
Reference in New Issue