Skip to content

Commit

Permalink
move styled-jsx to peerDependencies in gatsby-plugin-styled-jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
zgreen committed Jan 12, 2018
1 parent 03e276a commit 22b6572
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-styled-jsx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Provides drop-in support for [styled-jsx](https://github.com/zeit/styled-jsx).

## Install

`yarn add gatsby-plugin-styled-jsx`
`yarn add styled-jsx gatsby-plugin-styled-jsx`

## How to use

Expand Down
6 changes: 4 additions & 2 deletions packages/gatsby-plugin-styled-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
"keywords": ["gatsby", "styled-jsx"],
"license": "MIT",
"dependencies": {
"babel-runtime": "^6.26.0",
"styled-jsx": "^2.2.1"
"babel-runtime": "^6.26.0"
},
"devDependencies": {
"cross-env": "^5.0.5"
},
"peerDependencies": {
"styled-jsx": "^2.2.1"
}
}

0 comments on commit 22b6572

Please sign in to comment.