Skip to content

Commit

Permalink
fix(gatsby-plugin-styletron): Styletron to peerDependencies (#22731)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiia authored May 6, 2020
1 parent 597491a commit a4969d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-styletron/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rendering support.
## Install

```shell
npm install gatsby-plugin-styletron
npm install gatsby-plugin-styletron styletron-react styletron-engine-atomic
```

## How to use
Expand Down
15 changes: 8 additions & 7 deletions packages/gatsby-plugin-styletron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.9.6",
"styletron-engine-atomic": "^1.4.6",
"styletron-react": "^5.2.7"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"babel-preset-gatsby-package": "^0.4.1",
"cross-env": "^5.2.1"
"cross-env": "^5.2.1",
"styletron-engine-atomic": "^1.4.6",
"styletron-react": "^5.2.7"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styletron#readme",
"keywords": [
Expand All @@ -25,7 +23,10 @@
"license": "MIT",
"main": "index.js",
"peerDependencies": {
"gatsby": "^2.0.0"
"gatsby": "^2.0.0",
"react": "^16.4.2",
"styletron-engine-atomic": "^1.4.6",
"styletron-react": "^5.2.7"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit a4969d9

Please sign in to comment.