A simple template to start the creation of new npm modules
This template is highly opinionated.
It is configured to work with React and Typescript to designed and publish React components to npm.
To compile your code once, run
npm run build
.
To compile your code once and refresh on file change, run
npm run start
.
To publish your package to npm, make sure you're logged in the correct account by running
npm login
.
Update the package version accordingly by using
Then publish your package by running on of the following
npm publish
npm publish --access public