-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* source map, webpack, stories, babel * fixed jest tests * hot reload
- Loading branch information
1 parent
2431886
commit b3cdbae
Showing
23 changed files
with
780 additions
and
1,731 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,8 @@ | ||
{ | ||
"plugins": [ | ||
"react-hot-loader/babel", | ||
["@babel/plugin-proposal-class-properties",{"loose":true}], | ||
["@babel/plugin-transform-private-methods",{"loose":true}], | ||
["@babel/plugin-transform-private-property-in-object",{"loose":true}], | ||
"@babel/plugin-transform-destructuring", | ||
"@babel/plugin-proposal-object-rest-spread" | ||
], | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"modules": false | ||
} | ||
], | ||
"@babel/typescript", | ||
"@babel/preset-react" | ||
], | ||
"env": { | ||
"testing": { | ||
"presets":[ | ||
"@babel/typescript", | ||
"@babel/preset-env", | ||
"@babel/preset-react" | ||
] | ||
} | ||
{"env": { | ||
"testing": { | ||
"presets":[ | ||
"@babel/typescript", | ||
"@babel/preset-env" | ||
] | ||
} | ||
} | ||
}} |
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
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,8 +1,5 @@ | ||
import * as React from "react"; | ||
import { storiesOf } from "@storybook/react"; | ||
import StoryRouter from "storybook-react-router"; | ||
import AddingButton from "../Components/AddingButton/AddingButton"; | ||
|
||
storiesOf("AddingButton", module) | ||
.addDecorator(StoryRouter()) | ||
.add("Default", () => <AddingButton to="/" />); | ||
storiesOf("AddingButton", module).add("Default", () => <AddingButton to="/" />); |
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,5 @@ | ||
import * as React from "react"; | ||
import { storiesOf } from "@storybook/react"; | ||
import StoryRouter from "storybook-react-router"; | ||
import Bar from "../Components/Bar/Bar"; | ||
|
||
storiesOf("Bar", module) | ||
.addDecorator(StoryRouter()) | ||
.add("Default", () => <Bar message="You message here" />); | ||
storiesOf("Bar", module).add("Default", () => <Bar message="You message here" />); |
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,5 @@ | ||
import * as React from "react"; | ||
import { storiesOf } from "@storybook/react"; | ||
import StoryRouter from "storybook-react-router"; | ||
import Header from "../Components/Header/Header"; | ||
|
||
storiesOf("Header", module) | ||
.addDecorator(StoryRouter()) | ||
.add("Default", () => <Header />); | ||
storiesOf("Header", module).add("Default", () => <Header />); |
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
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
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
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
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
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
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
Oops, something went wrong.