React NPM library starter kit based on Facebook's create react app
Branch: master
Clone or download
Latest commit bfeb740 Feb 13, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Update webpack demo config and demo build script Nov 20, 2018
public - Removed Sass support by default Dec 27, 2017
src Fix example documentation urk Dec 17, 2018
.gitignore Update dependencies Feb 13, 2019
.npmignore Added "demo" folder to .npmignore Apr 13, 2018
.travis.yml - Removed Sass support by default Dec 27, 2017 Edit package.json and Changelog Nov 25, 2018
LICENCE - Removed Sass support by default Dec 27, 2017 Edit readme Apr 2, 2018
package.json Update dependencies Feb 13, 2019

React NPM library starter kit

Build Status Dependencies Dev Dependencies

based on Facebook's Create react app. We are constantly updating repository with the updates of create-react-app, so we have all new features and bug fixes of it.

Converted to custom setup

Moved all dependencies to dev dependencies because we don't need extra dependencies for our library after build, but we want all this features while developing:

  • React, JSX, ES6, and Flow syntax support.
  • Language extras beyond ES6 like the object spread operator.
  • A dev server that lints for common errors.
  • Import CSS and image files directly from JavaScript.
  • Autoprefixed CSS, so you don’t need -webkit or other prefixes.
  • A build script to bundle JS, CSS, and images for production.

Getting Started

Clone repo

git clone

Install dependencies

npm install or yarn install

Start development server

npm start or yarn start

Runs the demo app in development mode. Open http://localhost:3000 to view it in the browser.

Library files

All library files are located inside src/lib

Demo app

Is located inside src/demo directory, here you can test your library while developing


npm run test or yarn run test

Build library

npm run build or yarn run build

Produces production version of library under the build folder.

Publish library

npm publish

Example library built with this starter kit