-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update all devDependencies. Load scss in storybook * Try to resolve scss loading error * Update react-scripts and make storybook work on production * Remove underscore, warning and deprecated-prop. Update bulma. * Remove two externals from rollup config * Update version to 2.0.0 * Add to npmignore * Disallow trailing comma eslint rule * Update some deps
- Loading branch information
Showing
73 changed files
with
13,475 additions
and
5,228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
dist | ||
.babelrc | ||
.babelrc.json | ||
.storybook | ||
.gitignore | ||
.prettierrc | ||
.eslintrc | ||
rollup.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
const path = require("path"); | ||
|
||
module.exports = { | ||
stories: ["../src/**/*.stories.[tj]s"], | ||
addons: [ | ||
"@storybook/react", | ||
"@storybook/preset-scss", | ||
"@storybook/preset-create-react-app", | ||
"@storybook/addon-docs", | ||
"@storybook/addon-storysource", | ||
"@storybook/addon-knobs/register", | ||
"@storybook/addon-viewport/register" | ||
] | ||
"@storybook/addon-viewport/register", | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { addParameters } from '@storybook/react'; | ||
import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport'; | ||
import { addParameters } from "@storybook/react"; | ||
import { INITIAL_VIEWPORTS } from "@storybook/addon-viewport"; | ||
require("!style-loader!css-loader!sass-loader!../src/styles.scss"); | ||
|
||
addParameters({ | ||
viewport: { | ||
viewports: INITIAL_VIEWPORTS, | ||
}, | ||
}); | ||
viewport: { | ||
viewports: INITIAL_VIEWPORTS, | ||
}, | ||
}); |
Oops, something went wrong.
81004ab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: