Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 7, 2024. It is now read-only.

morewings/cra-template-npm-library

Repository files navigation

Deprecation notice

Create React App is not updated by its maintainers anymore. So this project can't be updated as well. I recommend to use React Library Template which has all the same functionality plus new features.

NPM library Create React App template

NPM library Create React App template logo

Create React App (CRA) template to build and publish NPM libraries with rollup, eslint and stylelint configurations.

🎁👌🤓 NEW! Now with Typescript support.

Read full documentation.

Visit Demo Storybook.

Features

Quickstart

npx create-react-app %PROJECT_NAME% --template npm-library
yarn create react-app %PROJECT_NAME% --template npm-library
pnpm create react-app %PROJECT_NAME% --template npm-library

Then

cd %PROJECT_NAME%
npm run prepare
yarn run prepare
pnpm run prepare

About

Create React App template to build and publish NPM libraries with typescript support, and rollup, eslint, stylelint configurations

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.