@espeo/create-espeo-app-cli
CLI for https://github.com/espeo/espeo-create-react-app
Last updated 3 months ago by maciej.wojslaw .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @espeo/create-espeo-app-cli -g
SYNC missed versions from official npm registry.

Create-espeo-app CLI

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 <newversion>

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

Current Tags

  • 0.2.0                                ...           latest (3 months ago)

14 Versions

  • 0.2.0                                ...           3 months ago
  • 0.2.0-alpha.1                                ...           4 months ago
  • 0.2.0-alpha                                ...           4 months ago
  • 0.1.11                                ...           5 months ago
  • 0.1.10                                ...           7 months ago
  • 0.1.9                                ...           8 months ago
  • 0.1.8                                ...           8 months ago
  • 0.1.7                                ...           8 months ago
  • 0.1.6                                ...           8 months ago
  • 0.1.5                                ...           8 months ago
  • 0.1.4                                ...           8 months ago
  • 0.1.3                                ...           8 months ago
  • 0.1.2                                ...           8 months ago
  • 0.1.0                                ...           8 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 15
Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |