react-library-vite-haroon
v0.0.17
Published
This repository accompanies the blog entry [Publishing a React component to npm using Vite](https://tomsouthall.com/blog/publishing-react-component-using-vite/).
Readme
react-library-vite
This repository accompanies the blog entry Publishing a React component to npm using Vite.
This is a scaffold application for building a React library/component using Vite, that can be published to npm.
Feel free to clone this repository. Simply replace all instances of react-library-vite in /package.json and in /vite.config.js with the name of your npm package.
Replace version, description and author in /package.json.
To run in development
npm run devTo run tests
npm testor
npm run watchTo build and publish
npm run buildfollowed by
npm publishLicense
MIT © tomsouthall
