https://github.com/driaug/react-hook-template
A template on how to publish your own React hook
https://github.com/driaug/react-hook-template
Last synced: 11 months ago
JSON representation
A template on how to publish your own React hook
- Host: GitHub
- URL: https://github.com/driaug/react-hook-template
- Owner: driaug
- License: mit
- Created: 2022-05-29T18:39:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-29T19:01:09.000Z (about 4 years ago)
- Last Synced: 2025-02-13T23:17:53.842Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 157 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# React Hook Template
Template repository you can use to easily deploy and publish a React hook to NPM.
## Important
### NPM Token
This setup automatically pushes your latest version to NPM. For this to work, you will need to add your NPM Token as a secret. You can do this in the settings under `Secrets > Actions > New Repository Secret`.
### Action Permissions
This setup makes use of a GitHub Action to automatically bump the version number of the `package.json`. If this actions fails, it is very well possible the action only has read access to the repository. Change it in the settings, under `Actions > General > Action Permissions`.