Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to include a plugin in the Plugin Library #8686

Merged
merged 2 commits into from
Oct 2, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docs/docs/source-plugin-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,14 @@ Experiment with different options in your `gatsby-config.js` file to see how tha

You've built a local plugin for your project, but what if you want to share it with others? `npm` allows you to publish your plugins. Check out the npm docs on [How to Publish & Update a Package](https://docs.npmjs.com/getting-started/publishing-npm-packages) for more info.

> **NOTE:** Don't forget to edit your plugin's `package.json` file to include info about your plugin.
> **NOTE:** Don't forget to edit your plugin's `package.json` file to include info about your plugin. To make sure it is included in the [Gatsby Plugin Library](https://www.gatsbyjs.org/plugins/), add a `keywords` field to package.json containing `gatsby` and `gatsby-plugin`.

```
"keywords": [
"gatsby",
"gatsby-plugin"
]
```

## Summary

Expand Down