rollup-react-starter-lib-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

rollup-react-starter-lib-ts

npm package

Template to create your own Typescript React library with Rollup.

  • Rollup v3 🎉
  • Compatible with new and old React versions, generates ESM/CJS files.

Build & Publish

You can use this template and change the name under package.json.

Build

npm run build

Build & Watch

npm run build:watch

Publish (public library)

Be sure you are either logged in under npm login or you have a token (check https://docs.npmjs.com/creating-and-viewing-access-tokens).

npm run publish --access=public

For local testing

cd your-lib-folder/

npm link 

cd your-app/

npm link name-of-your-lib

Package Sidebar

Install

npm i rollup-react-starter-lib-ts

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

35.2 kB

Total Files

11

Last publish

Collaborators

  • mauriciojoostwolff