Skip to content

Commit

Permalink
scripts-preset-react-app
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Jun 1, 2019
1 parent 25d8ba4 commit dee603f
Show file tree
Hide file tree
Showing 6 changed files with 542 additions and 402 deletions.
2 changes: 1 addition & 1 deletion .storybook/addons.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@trigen/scripts/storybook/addons';
import '@trigen/scripts-preset-react-app/storybook/addons';
10 changes: 4 additions & 6 deletions .storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import '@trigen/scripts/storybook/config';
import React from 'react';
import {
loadStories
} from '@trigen/scripts/storybook/config';
import {
addDecorator,
configure
} from '@trigen/scripts-preset-react-app/storybook/config';
import {
addDecorator
} from '@storybook/react';
import stylesheet from '@flexis/ui/reboot.st.css';

Expand All @@ -15,4 +13,4 @@ addDecorator(story => (
</div>
));

configure(loadStories, module);
configure(module);
2 changes: 1 addition & 1 deletion .storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const configureStorybook = require('@trigen/scripts/storybook/webpack.config');
const configureStorybook = require('@trigen/scripts-preset-react-app/storybook/webpack.config');

module.exports = configureStorybook;
3 changes: 3 additions & 0 deletions .trigenscriptsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
"preset-react-app"
]
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"redux": "^4.0.0"
},
"devDependencies": {
"@trigen/scripts": "^1.10.2",
"@trigen/scripts": "^2.0.0",
"@trigen/scripts-preset-react-app": "^2.0.0",
"@types/faker": "^4.1.4",
"faker": "^4.1.0",
"moxios": "^0.4.0"
Expand Down
Loading

0 comments on commit dee603f

Please sign in to comment.