Update cra-ts-essneitals to triconfig

This commit is contained in:
Michael Shilman 2019-12-07 14:20:38 +08:00
parent c00f4b8a76
commit 50fdbe8b9f
5 changed files with 26 additions and 27 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-essentials",
"version": "5.3.0-beta.16",
"version": "5.3.0-beta.18",
"description": "Curated addons to bring out the best of Storybook",
"keywords": [
"addon",
@ -27,15 +27,15 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addon-actions": "5.3.0-beta.16",
"@storybook/addon-backgrounds": "5.3.0-beta.16",
"@storybook/addon-docs": "5.3.0-beta.16",
"@storybook/addon-knobs": "5.3.0-beta.16",
"@storybook/addon-links": "5.3.0-beta.16",
"@storybook/addon-viewport": "5.3.0-beta.16",
"@storybook/addons": "5.3.0-beta.16",
"@storybook/api": "5.3.0-beta.16",
"@storybook/node-logger": "5.3.0-beta.16",
"@storybook/addon-actions": "5.3.0-beta.18",
"@storybook/addon-backgrounds": "5.3.0-beta.18",
"@storybook/addon-docs": "5.3.0-beta.18",
"@storybook/addon-knobs": "5.3.0-beta.18",
"@storybook/addon-links": "5.3.0-beta.18",
"@storybook/addon-viewport": "5.3.0-beta.18",
"@storybook/addons": "5.3.0-beta.18",
"@storybook/api": "5.3.0-beta.18",
"@storybook/node-logger": "5.3.0-beta.18",
"ts-dedent": "^1.1.0"
},
"devDependencies": {

View File

@ -1,4 +0,0 @@
import { configure } from '@storybook/react';
// automatically import all files ending in *.stories.(tsx|jsx)
configure(require.context('../src/stories', true, /\.stories\.[tj]sx?$/), module);

View File

@ -0,0 +1,12 @@
module.exports = {
stories: ['../src/**/*.stories.tsx'],
presets: [
'@storybook/preset-create-react-app',
{
name: '@storybook/addon-essentials',
options: {
backgrounds: false,
},
},
],
};

View File

@ -1,9 +0,0 @@
module.exports = [
'@storybook/preset-create-react-app',
{
name: '@storybook/addon-essentials',
options: {
backgrounds: false,
},
},
];

View File

@ -1,6 +1,6 @@
{
"name": "cra-ts-essentials",
"version": "5.3.0-beta.16",
"version": "5.3.0-beta.18",
"private": true,
"scripts": {
"build": "react-scripts build",
@ -36,9 +36,9 @@
"typescript": "3.7.2"
},
"devDependencies": {
"@storybook/addon-essentials": "5.3.0-beta.16",
"@storybook/addons": "5.3.0-beta.16",
"@storybook/addon-essentials": "5.3.0-beta.18",
"@storybook/addons": "5.3.0-beta.18",
"@storybook/preset-create-react-app": "^1.2.0",
"@storybook/react": "5.3.0-beta.16"
"@storybook/react": "5.3.0-beta.18"
}
}