Skip to content

Commit 8774fa8

Browse files
committed
2 parents 767dfcd + 6b58d2b commit 8774fa8

File tree

5 files changed

+1124
-570
lines changed

5 files changed

+1124
-570
lines changed

.storybook/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { configure } from '@kadira/storybook';
1+
import { configure } from '@storybook/react';
22

33
function loadStories() {
44
require('../stories');

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ after_success:
1313
branches:
1414
except:
1515
- /^v\d+\.\d+\.\d+$/
16+

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
"prepush": "npm test",
2020
"prepublish": "npm run lint && flow && npm test && npm run build",
2121
"open:coverage": "open coverage/lcov-report/index.html",
22-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
22+
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
23+
"storybook": "start-storybook -p 6006",
24+
"build-storybook": "build-storybook"
2325
},
2426
"config": {
2527
"mocha": "--compilers js:babel-core/register -r jsdom-global/register ./test/**.js",
@@ -54,8 +56,8 @@
5456
"homepage": "https://github.com/jedwards1211/react-library-skeleton#readme",
5557
"devDependencies": {
5658
"@jedwards1211/eslint-config-flow": "^1.0.0",
57-
"@jedwards1211/eslint-config-react": "^2.0.0",
58-
"@kadira/storybook": "^2.35.2",
59+
"@jedwards1211/eslint-config-react": "^2.0.1",
60+
"@storybook/react": "^3.1.6",
5961
"babel-cli": "^6.22.2",
6062
"babel-core": "^6.22.1",
6163
"babel-eslint": "^7.1.1",

stories/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { storiesOf } from '@kadira/storybook'
2+
import { storiesOf } from '@storybook/react'
33
import Hello from '../src/index'
44

55
storiesOf('react-library-skeleton', module)

0 commit comments

Comments
 (0)