Skip to content

Commit

Permalink
cosmos
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrees committed Jan 20, 2020
1 parent e49df9c commit d5c7956
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions cosmos.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"watchDirs": ["src"],
"webpack": {
"configPath": "react-scripts/config/webpack.config"
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"cosmos": "cosmos",
"cosmos:export": "cosmos-export"
},
"eslintConfig": {
"extends": "react-app"
Expand Down

0 comments on commit d5c7956

Please sign in to comment.