A template to help you (me) quickly get started with publishing an NPM package
Uses TypeScript, Vite, Vitest, Prettier
Add the top of this page on GitHub there should be a large green button that says Use This Template.
Click that to use this template!
- Update the
package.json.- Update the package
nameanddescription. - Replace anything that says
ts-library-templatewith your package name. - Replace anything with that says
ishawith your name and contact details.
- Update the package
- Add an environment variable
NPM_TOKENto GitHub actions, so it can publish packages - Update the repo name in
.changeset/config.json - Update the README.
- Inspect the
.github/workflowsconfiguration to see if they work with your GitHub setup. - Update your Prettier settings and don't complain about my preferences :)
- Make something cool!