@mobylogix/react-component
Generate react component
Last updated 2 years ago by mobylogix .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mobylogix/react-component -g
SYNC missed versions from official npm registry.

Generate React Component

Usage: react-component <name> [options]

  Options:

    -h, --help                output usage information
    -V, --version             output the version number
    -s, --styles [extension]  styles extension [default: css]
    -e, --ext [extension]  file extension [default: js]
    -p, --pure [extension], generate react PureComponent [default: Component]
    -d, --dir [extension], generate directory structure

Install

npm i -g @mobylogix/react-component

Example

react-component Alert -e jsx -s scss -p -d

will create

Alert
├── Alert.jsx
├── alert.scss

Current Tags

  • 0.1.7                                ...           latest (2 years ago)

16 Versions

  • 0.1.7                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 2
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |