Skip to content

Commit

Permalink
Added bootstrap for react-native typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
cliedeman committed Apr 2, 2018
1 parent a5fd30e commit 477d0cc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"bootstrap:crna-kitchen-sink": "npm --prefix examples/crna-kitchen-sink install",
"bootstrap:docs": "yarn install --cwd docs",
"bootstrap:react-native-vanilla": "npm --prefix examples/react-native-vanilla install",
"bootstrap:react-native-typescript": "npm --prefix examples/react-native-typescript install",
"build-packs": "lerna exec --scope '@storybook/*' --parallel -- ../../scripts/build-pack.sh ../../packs",
"changelog": "pr-log --sloppy",
"precommit": "lint-staged",
Expand Down
9 changes: 9 additions & 0 deletions scripts/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ const tasks = {
spawn('yarn bootstrap:react-native-vanilla');
},
}),
'react-native-typesript': createTask({
name: `React-Native Typesript example ${chalk.gray('(react-native-typescript)')}`,
defaultValue: false,
option: '--reactnativetypescript',
pre: ['packs'],
command: () => {
spawn('yarn bootstrap:react-native-typescript');
},
}),
'crna-kitchen-sink': createTask({
name: `React-Native-App example ${chalk.gray('(crna-kitchen-sink)')}`,
defaultValue: false,
Expand Down

0 comments on commit 477d0cc

Please sign in to comment.