generator-react-library-starter

1.0.0 • Public • Published

generator-react-library-starter

Getting started

This is a yoeman generator for a React library starter kit. To get started run these commands:

$ npm i -g yo

$ npm i -g generator-react-library-starter

$ mkdir my-new-project && cd my-new-project

$ yo react-library-starter

What do you get?

Scaffolds out a complete JavaScript library directory structure for a React component library including a webpack config, babelrc and eslintrc files, and and example component and test file. The structure should look like this:

├── .babelrc
├── .eslintrc
├── .gitignore
├── LICENSE
├── README.md
├── package.json
├── webpack.config.js
└── __tests__/
|   └── index.js
└── examples/
|    └── index.js
|    └── styles.css
└── src/
    └── index.js

License

MIT

/generator-react-library-starter/

    Package Sidebar

    Install

    npm i generator-react-library-starter

    Weekly Downloads

    6

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    8.25 kB

    Total Files

    15

    Last publish

    Collaborators

    • rnglnd