1.0.3 • Published 7 years ago

create-mobx-react-app v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

create-mobx-react-app

a cli what can create init project with mobx + react

usage

npm i -g create-mobx-react-app

create-app new [project-name]
create-app add [config-file-path]

current function

Options:

  -V, --version           output the version number
  -l, --list              print the template list
  -h, --help              output usage information

Commands:

  new <project-name>      create init project
  add <config-file-path>  add your own template list

add file template

config.js

module.exports = {
  TEM_LIST: {
    'templateName': {
      desc: 'template description',
      addr: 'template git repository'
    }
  }
}

git repository address should like this download-git-repo

create-app add ./config.js