0.1.0 • Published 4 years ago

renata-cli v0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Renata CLI

renata-cli is a command line tool to generate standard fe project (now react only).

Support Features:

    • typescript
    • eslint
    • mock
    • pre-commit
    • jest
  • ...and more

Installation

  npm i renata-cli (or global install with -g)

Useage

renata-cli
Usage: renata-cli <command> [options]

Options:
  -v --version  output the version number
  -h, --help    output usage information

Commands:
  init          generate an project with renata-cli
  config        change config for renata-cli

Usage
 - renata-cli init <project-name>
 - renata-cli config set <key> <value>
 - renata-cli config get <key>
 - renata-cli config remove <key>

Progress

CLI core

    • project architecture
    • user interactive
    • merge feature package based on user input
    • install dependencied
    • configuration management (Optional)

Feature Template

base

    • process funtion
    • template
      • devServer
      • webpack base config
      • webpack dev config
      • webpack prod config

typescript

    • process funtion
    • template

eslint

    • process funtion
    • template
      • eslintignore
      • eslintrc

mock

    • process funtion
    • template

pre-commit

    • process funtion
    • template

jest

    • process funtion
    • template