Skip to content

espeo/espeo-create-react-app-cli

Repository files navigation

Create-espeo-app CLI

CircleCI npm version Codecov Coverage

Installation

$ npm i -g @espeo/create-espeo-app-cli
$ yarn add @espeo/create-espeo-app-cli --global

Available commands

Initialize new project

espeo init <folderName>

or via alias

espeo i <folderName>

This command will create a clean copy of Create-espeo-app boilerplate in folderName folder and install all NPM dependencies using Yarn or NPM (depending on the choices made during initialization). Also, depending on the choices made, Cypress configuration and dependencies may be added or not.

Generate new files

espeo generate <type> <name>

or via alias

espeo g <type> <name>

Examples:

  • class component
    espeo g component exampleComponent
    
  • functional component
    espeo g component exampleComponent -f
    
  • container
    espeo g container exampleContainer
    
  • store- create folder with selected name and with action, reducer and selector files (also specs) and update root-store.ts file in project directory (providing it's in the upper directory tree)
    espeo g store exampleStore
    
  • You can generate scaffold under given path
    espeo g component /src/app/components/exampleComponent
    espeo g component ./src/app/components/exampleComponent
    espeo g store /src/exampleStore
    espeo g store ./src/exampleStore
    

Developer Guide

To deploy new version just use:

yarn version

This will update package version and push your code with --follow-tags option.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published