gigachad-react-rollup-starter
v1.6.6
Published
React Typescript Rollup Starter for building ES Modules
Downloads
5
Maintainers
Readme
⚛️ 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.