@developertown/react-cli
TypeScript icon, indicating that this package has built-in type declarations

0.12.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @developertown/react-cli

Weekly Downloads

0

Version

0.12.0

License

MIT

Unpacked Size

28.3 kB

Total Files

31

Last publish

Collaborators

  • jasonvasquez
  • abillingsley
  • jaysqubexon