Skip to content

Commit 22b6572

Browse files
committed
move styled-jsx to peerDependencies in gatsby-plugin-styled-jsx
1 parent 03e276a commit 22b6572

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/gatsby-plugin-styled-jsx/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Provides drop-in support for [styled-jsx](https://github.com/zeit/styled-jsx).
44

55
## Install
66

7-
`yarn add gatsby-plugin-styled-jsx`
7+
`yarn add styled-jsx gatsby-plugin-styled-jsx`
88

99
## How to use
1010

packages/gatsby-plugin-styled-jsx/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
"keywords": ["gatsby", "styled-jsx"],
1313
"license": "MIT",
1414
"dependencies": {
15-
"babel-runtime": "^6.26.0",
16-
"styled-jsx": "^2.2.1"
15+
"babel-runtime": "^6.26.0"
1716
},
1817
"devDependencies": {
1918
"cross-env": "^5.0.5"
19+
},
20+
"peerDependencies": {
21+
"styled-jsx": "^2.2.1"
2022
}
2123
}

0 commit comments

Comments
 (0)