@developertown/react-cli
CLI for generating and maintaining react projects at DeveloperTown
Last updated 2 months ago by nullvoxpopuli .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @developertown/react-cli 
SYNC missed versions from official npm registry.

react-cli

CLI for generating and maintaining react projects at DeveloperTown

oclif Version Downloads/week License

Usage

$ npm install -g @developertown/react-cli
$ react COMMAND
running command...
$ react (-v|--version|version)
@developertown/react-cli/0.12.0 linux-x64 node-v10.15.3
$ react --help [COMMAND]
USAGE
  $ react COMMAND
...

Commands

react fetch-configs

Fetches config files for linting and typescript projects

USAGE
  $ react fetch-configs

EXAMPLE
  $ react fetch-configs

See code: src/commands/fetch-configs.ts

react generate GENERATOR NAME

Generates a route with tests, path entries, and intermediare route files if applicable

USAGE
  $ react generate GENERATOR NAME

OPTIONS
  --route=route  directory of a route to place the component in. Will live in `route-path/-components/`

ALIASES
  $ react g

EXAMPLES
  $ react generate component component-name
  $ react g component component-name
  $ react g component path/to/component-name
  $ react g component component-name --route=dashboard/posts

  $ react g route route-name
  $ react g route path/to/route-name

See code: src/commands/generate.ts

react generateMaterial NAME

Creates components with Material Components installed

USAGE
  $ react generateMaterial NAME

ALIASES
  $ react material
  $ react m

EXAMPLES
  $ react material component-name
  $ react m path/to/component

See code: src/commands/generateMaterial.ts

react help [COMMAND]

display help for react

USAGE
  $ react help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

react new [PROJECTNAME]

Creates a new react application

USAGE
  $ react new [PROJECTNAME]

EXAMPLES
  $ react new project-name --jsonapi --redux
  $ react new project-name --auth0
  $ react new project-name

See code: src/commands/new.ts

react prepare

Prepares an app to use the react-cli

USAGE
  $ react prepare

EXAMPLE
  $ react prepare

See code: src/commands/prepare.ts

react upgrade

Upgrades an existing project

USAGE
  $ react upgrade

EXAMPLE
  $ react upgrade

See code: src/commands/upgrade.ts

Current Tags

  • 0.12.0                                ...           latest (2 months ago)

20 Versions

  • 0.12.0                                ...           2 months ago
  • 0.11.0                                ...           3 months ago
  • 0.10.1                                ...           3 months ago
  • 0.10.0                                ...           3 months ago
  • 0.9.0                                ...           3 months ago
  • 0.8.0                                ...           4 months ago
  • 0.7.3                                ...           4 months ago
  • 0.7.2                                ...           4 months ago
  • 0.7.1                                ...           4 months ago
  • 0.7.0                                ...           4 months ago
  • 0.6.2                                ...           4 months ago
  • 0.6.1                                ...           4 months ago
  • 0.6.0                                ...           4 months ago
  • 0.5.0                                ...           4 months ago
  • 0.4.0                                ...           4 months ago
  • 0.3.0                                ...           4 months ago
  • 0.2.2                                ...           4 months ago
  • 0.2.1                                ...           4 months ago
  • 0.2.0                                ...           4 months ago
  • 0.1.0                                ...           4 months ago
Downloads
Today 0
This Week 0
This Month 40
Last Day 0
Last Week 40
Last Month 40
Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |