@reactivers/npm-ts
v1.0.2
Published
Create packages for NPM with types. React, NodeJS, NextJS, Typescript
Maintainers
Readme
Installation
npx @reactivers/npm-ts my-componentGetting Started
- Edit
package.json - Create your components under
src/components. - Create your styles to under
src/styles. - Export the components and the styles you want to build into
src/index.ts.- Make sure all of them are
exported!.
- Make sure all of them are
- Then run
npm run build- Check
distfolder
Note!.
Don't forget to edit
package.json!Don't forget to edit
README.md!To publish the package
npm publish --access=public