Skip to content

Commit

Permalink
Merge pull request #3 from billpull/generate-default-files
Browse files Browse the repository at this point in the history
Blueprint: Create necessary files
  • Loading branch information
gabrielcsapo authored Feb 5, 2019
2 parents 21b88e2 + 12a7ec4 commit e11eee7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
Empty file.
8 changes: 8 additions & 0 deletions blueprints/ember-cli-storybook/files/.storybook/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { configure } from '@storybook/ember';

function loadStories() {
// require('../stories/index.js');
// You can require as many stories as you need.
}

configure(loadStories, module);
Empty file.
11 changes: 11 additions & 0 deletions blueprints/ember-cli-storybook/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.export = {
normalizeEntityName() {},

afterInstall() {
return this.addPackagesToProject([
{name: '@storybook/ember'},
{name: '@babel/core'},
{name: 'babel-loader@next'}
]);
}
}

0 comments on commit e11eee7

Please sign in to comment.