Skip to content

Commit

Permalink
Merge pull request #17 from kadirahq/update-storybook
Browse files Browse the repository at this point in the history
Update @kadira/storybook to version 2.5.2
  • Loading branch information
arunoda authored Aug 30, 2016
2 parents 74da5ed + 50f6566 commit b92b6c2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions generators/METEOR/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if(fs.existsSync('.babelrc')) {
var babelrcContent = fs.readFileSync('.babelrc', 'utf8');
babelrc = JSON5.parse(babelrcContent);
babelrc.plugins = babelrc.plugins || [];

if (babelrc.plugins.indexOf('babel-root-slash-import') < 0) {
babelrc.plugins.push('babel-root-slash-import');
packageJson.devDependencies['babel-root-slash-import'] = '^1.1.0';
Expand All @@ -39,7 +39,7 @@ if(fs.existsSync('.babelrc')) {
fs.writeFileSync('.babelrc', JSON.stringify(babelrc, null, 2), 'utf8');

// write the new package.json.
packageJson.devDependencies['@kadira/storybook'] = '^2.0.0';
packageJson.devDependencies['@kadira/storybook'] = '^2.5.2';
packageJson.scripts['storybook'] = 'start-storybook -p 6006';
packageJson.scripts['build-storybook'] = 'build-storybook';

Expand Down
2 changes: 1 addition & 1 deletion generators/REACT/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var packageJson = helpers.getPackageJson();

// TODO: Get the latest version of storybook here.
packageJson.devDependencies = packageJson.devDependencies || {};
packageJson.devDependencies['@kadira/storybook'] = '^2.0.0';
packageJson.devDependencies['@kadira/storybook'] = '^2.5.2';

packageJson.scripts = packageJson.scripts || {};
packageJson.scripts['storybook'] = 'start-storybook -p 6006';
Expand Down
2 changes: 1 addition & 1 deletion generators/REACT_SCRIPTS/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite');
var packageJson = helpers.getPackageJson();

// TODO: Get the latest version of storybook here.
packageJson.devDependencies['@kadira/storybook'] = '^2.0.0';
packageJson.devDependencies['@kadira/storybook'] = '^2.5.2';
packageJson.scripts['storybook'] = 'start-storybook -p 9009';
packageJson.scripts['build-storybook'] = 'build-storybook';

Expand Down
2 changes: 1 addition & 1 deletion generators/WEBPACK_REACT/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var packageJson = helpers.getPackageJson();

// TODO: Get the latest version of storybook here.
packageJson.devDependencies = packageJson.devDependencies || {};
packageJson.devDependencies['@kadira/storybook'] = '^2.0.0';
packageJson.devDependencies['@kadira/storybook'] = '^2.5.2';

packageJson.scripts = packageJson.scripts || {};
packageJson.scripts['storybook'] = 'start-storybook -p 6006';
Expand Down

0 comments on commit b92b6c2

Please sign in to comment.