0.1.12 • Published 5 years ago

react-library-generator v0.1.12

Weekly downloads
10
License
MIT
Repository
github
Last release
5 years ago

React Library Generator

npm.io npm.io npm.io

Powerful CLI for creating a React libraries

React library generator is a CLI that helps you to build a scaffold for your library. It's fully customizable, and you can determine what you want. Also, this CLI create documentation for your library and provide various test utilities.

Features

  • Simple to use CLI and fully customizable
  • ES6 and Flow syntax support
  • Testing (Jest, Ava, Enzyme)
  • Different supported style languages (Sass, Less, PostCSS, CSS)
  • Documentation (Docz)
  • Rollup for Bundling
  • Bundles es and cjs module formats
  • Babel for Transpiling
  • Source map creation
  • Automatic code linting via esLint
  • Supports peer-dependencies
  • Protect your git branches with Husky
  • Check Library name availability on NPM before generating

Installation

npm i -g react-library-generator
yarn add global react-library-generator

Usage

$ react-library-generator

Library structure

The following file tree has represented the structure of the library. You can develop your component on the src folder and writes tests on the tests folders. 😄

At the moment, we use Docz for documentation and demo. but In the future, we provide other utilities such as Storybook for documentation.

Note! We don't intend to restrict you to this structure, so all parts can be changed.

License

MIT © Jalal Azimi

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago