Effortless React Library Development Experience


Keywords
react, typescript, library, component, vite, document
License
GPL-3.0
Install
npm install rive@2.0.31

Documentation

RiVE - Effortless React Library Development Experience

Features

  • zero-config needed
  • lightning fast speed
  • support TypeScript and bundle a single .d.ts
  • support Sass, Less, styled-components
  • enforced coding style with ESLint, Stylelint and Prettier
  • output ESM and CJS formats (sorry UMD, you are too old)

Getting Started

Run the following command to create new projects or migrate old projects

npm create rive my-lib

Configurations

Browser Compatibility

Default:

{
  "browserslist": ["defaults", "not IE 11", "maintained node versions"]
}

See https://github.com/browserslist/browserslist

Related projects

The creation of RiVE is inspired by the following open source projects:

  • tsdx: zero-config build tool for React library development
  • f2elint: all-in-one front-end code linter from Alibaba
  • docusaurus: the document generator that Rive uses

See