Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.
- Ensure your environment is running Node.js 10+
- Git clone the Styled Hooks repository.
- From the root of the repository, run
npm i
to install development dependencies.
You can develop against the example project by running:
npm start
This will create a build of the example project and watch the src
and example
directories for code changes, which will trigger a rebuild.
It will also start a live development server on http://localhost:8080/, which you can use to view the example app and verify your changes.
You can build the project by running:
npm run build
The build process uses microbundle
to create two artifacts from the src/styled-hooks.ts
entry point:
dist/styled-hooks.js
forrequire()
-ing with CommonJSdist/styled-hooks.m.js
forimport
-ing as an ECMAScript Module
Please submit pull requests to initiate discussions about your contributions, and allow us to merge them!
- Fork the repo and create your branch from
master
. - If you’ve changed APIs, update the documentation.
- Make sure your code lints.
- Push your changes to your own fork.
- Create your pull request.
By contributing to Styled Hooks, you agree that your contributions will be licensed under The Unlicense.