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

1.6.6 • Public • Published

⚛️ React Typescript Rollup Starter

Barebones Rollup template for building React + Typescript ES Modules.

What can I use it for?

To develop React Typescript components that are bundled as ES Modules.

⚙️ Getting started

This repository is a GitHub template. Click on "Use this template" above to the right to create a new repository with the same directory structure and files.

Or you can clone it locally by using the following command

git clone https://github.com/a11y-gigachad-org/gigachad-react-rollup-starter.git my-app

📖 Usage

npm run build bundles files into dist/index.js and types into dist/types/index.d.js.

npm start builds and watches the files during development.

npm link in the module directory and then npm link <package.name> in any Create React App or Next.JS repository to develop your components for the browser.

npm test runs Jest with React Testing Library

💬 Discussions

For any ideas or questions, head over to the disscussions to share them there.

🐛 Bugs

For any bugs, missing documentation, or unexpected behavior head over to the issues to file them there.

Package Sidebar

Install

npm i gigachad-react-rollup-starter

Weekly Downloads

5

Version

1.6.6

License

MIT

Unpacked Size

17.7 kB

Total Files

7

Last publish

Collaborators

  • john-james