Skip to content

Commit

Permalink
fix(gatsby-plugin-styletron): move Styletron to peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiia committed Apr 1, 2020
1 parent 040afea commit dccfb5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 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
12 changes: 7 additions & 5 deletions packages/gatsby-plugin-styletron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.8.7",
"styletron-engine-atomic": "^1.4.6",
"styletron-react": "^5.2.7"
"@babel/runtime": "^7.8.7"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"babel-preset-gatsby-package": "^0.3.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 +25,9 @@
"license": "MIT",
"main": "index.js",
"peerDependencies": {
"gatsby": "^2.0.0"
"gatsby": "^2.0.0",
"styletron-engine-atomic": "^1.4.6",
"styletron-react": "^5.2.7"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit dccfb5a

Please sign in to comment.