Merge pull request #1788 from storybooks/npm-prefix

Replace `lerna --scope` with `npm --prefix` for a cleaner output
This commit is contained in:
Filipp Riabchun 2017-09-05 02:59:22 +03:00 committed by GitHub
commit 2b0c8ab798

View File

@ -9,10 +9,10 @@
"bootstrap": "./scripts/bootstrap.js",
"bootstrap:core": "lerna bootstrap --concurrency 1 --npm-client=\"yarn\" --hoist && node ./scripts/hoist-internals.js",
"bootstrap:docs": "cd docs && yarn install",
"bootstrap:react-native-vanilla": "lerna exec --scope react-native-vanilla -- npm install",
"bootstrap:crna-kitchen-sink": "lerna exec --scope crna-kitchen-sink -- npm install",
"bootstrap:react-native-vanilla": "npm --prefix examples/react-native-vanilla install",
"bootstrap:crna-kitchen-sink": "npm --prefix examples/crna-kitchen-sink install",
"build-packs": "lerna exec --scope '@storybook/*' --parallel -- ../../scripts/build-pack.sh ../../packs",
"start": "lerna run --stream --scope cra-kitchen-sink storybook",
"start": "npm --prefix examples/cra-kitchen-sink run storybook",
"changelog": "pr-log --sloppy",
"precommit": "lint-staged",
"coverage": "codecov",