NPM library Create React App template
Create React App (CRA) template to build and publish NPM libraries with rollup, eslint and stylelint configurations. See full documentation.
Usage
npx create-react-app %PROJECT_NAME% --template npm-library
Or
yarn create react-app %PROJECT_NAME% --template npm-library
Then
cd %PROJECT_NAME%
yarn start
Features
- Handles all modern JS features.
- Bundles
commonjs
andes
module formats. - Husky for git hooks.
- Eslint and stylelint.
- Rollup for bundling.
- Babel for transpiling.
- Jest and react-testing-library for testing.
- Supports CSS modules, SASS/SCSS and PostCSS.
- Storybook for documentation and demo.
- And much more.
Contributors
@morewings, @sky0matic