Skip to content

Commit

Permalink
Minimal Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
obenjiro committed Apr 5, 2018
1 parent defd749 commit a13396d
Show file tree
Hide file tree
Showing 7 changed files with 10,720 additions and 5,797 deletions.
Empty file added .storybook/addons.js
Empty file.
9 changes: 9 additions & 0 deletions .storybook/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { configure } from '@storybook/angular';

function loadStories() {
// load all from /src/stories/*.stories.ts files
const req = require.context('../src/stories', true, /\.stories\.ts$/);
req.keys().forEach(filename => req(filename));
}

configure(loadStories, module);
10 changes: 10 additions & 0 deletions .storybook/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../tsconfig.json",
"exclude": [
"../src/test.ts",
"../src/**/*.spec.ts"
],
"include": [
"../src/**/*"
]
}
5 changes: 5 additions & 0 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const path = require('path');

module.exports = baseConfig => {
return baseConfig;
}
Loading

0 comments on commit a13396d

Please sign in to comment.