1.2.0 • Published 6 years ago

create-react-g v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

react-generator

React's equivalent to Angular's "ng g".

Installation

Get the package:

npm install -D create-react-g

Configure the script in package.json:

...
"scripts": {
  "g": "node ./node_modules/create-react-g/index.js"
},
...

Usage

Just write:

npm run g <component-name>

And get the boilerplate:

/src/
    components/
        <component-name>/
            component-name.component.js              # includes boilerplate code
            component-name.component.scss            # includes boilerplate code
            component-name.component.test.js         # includes boilerplate code

Contributing

As with Angular, the templates are strongly opinionated, so it follows a specific style. However, if you think that this package can add value to you with a little tweaking, feel free to fork it and customize it to your needs :blush:.

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago