@gem-mine/cli
gem-mine-cli
Last updated 18 days ago by githoniel .
ISC · Original npm · Tarball · package.json
$ cnpm install @gem-mine/cli 
SYNC missed versions from official npm registry.

gem-mine-cli

一个基于模板与构建命令行快速进行 react 应用搭建的工具

Usage

npm install -g @gem-mine/cli

// `gem-mine-cli` 可缩写为 `gmc`
gem-mine-cli --help
gmc --help

Debug

Node.js debugging in VS Code

参考配置文件

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "gem-mine-cli tester",
            "program": "${workspaceFolder}\\packages\\@gem-mine\\cli\\bin\\gem-mine-cli.js", // 指令入口
            "console": "integratedTerminal", // `integratedTerminal`支持输入
            "skipFiles": [ // 不调试`node`内部代码,可新增过滤内容
              "<node_internals>/**"
            ],
            "autoAttachChildProcesses": true, // 支持`childProcess`调试
            "args": [ // 命令行参数,根据调试需要调整
                "upgrade"
            ],
        }
    ]
}

Develop Guide

入口指令

package.json中设置bin来指定npm的可执行指令。 如果包安装在全局(-g),可以直接命令行执行;如果是安装在本地包,可以通过npx来执行

关键库说明

commander: CLI接口,用于解析命令行参数 chalk: 用于命令行输出染色 nunjucks: 模板引擎,用于项目模板的渲染 tapable: 事件注册与触发器,用于模板自定义事件的绑定和触发 pm2: node服务监控器,用于本地cli-service进程的管理

Current Tags

  • 2.7.3-alpha.0                                ...           alpha (5 months ago)
  • 2.13.0                                ...           latest (18 days ago)
  • 2.14.0-alpha.0                                ...           next (14 days ago)

147 Versions

  • 2.14.0-alpha.0                                ...           14 days ago
  • 2.13.0                                ...           18 days ago
  • 2.13.0-alpha.10                                ...           19 days ago
  • 2.13.0-alpha.9                                ...           23 days ago
  • 2.13.0-alpha.8                                ...           25 days ago
  • 2.13.0-alpha.7                                ...           a month ago
  • 2.13.0-alpha.6                                ...           a month ago
  • 2.13.0-alpha.5                                ...           a month ago
  • 2.13.0-alpha.4                                ...           a month ago
  • 2.13.0-alpha.3                                ...           a month ago
  • 2.13.0-alpha.2                                ...           a month ago
  • 2.13.0-alpha.1                                ...           a month ago
  • 2.13.0-alpha.0                                ...           a month ago
  • 2.12.0                                ...           2 months ago
  • 2.11.0                                ...           2 months ago
  • 2.10.16                                ...           2 months ago
  • 2.10.15                                ...           2 months ago
  • 2.10.14                                ...           2 months ago
  • 2.10.13                                ...           2 months ago
  • 2.10.12                                ...           2 months ago
  • 2.10.11                                ...           2 months ago
  • 2.10.10                                ...           2 months ago
  • 2.10.9                                ...           2 months ago
  • 2.10.8                                ...           3 months ago
  • 2.10.7                                ...           3 months ago
  • 2.10.6                                ...           3 months ago
  • 2.10.5                                ...           3 months ago
  • 2.10.4                                ...           3 months ago
  • 2.10.3                                ...           3 months ago
  • 2.10.2                                ...           3 months ago
  • 2.10.1                                ...           3 months ago
  • 2.10.0                                ...           3 months ago
  • 2.9.1                                ...           3 months ago
  • 2.9.0                                ...           4 months ago
  • 2.8.0                                ...           4 months ago
  • 2.7.6                                ...           5 months ago
  • 2.7.5                                ...           5 months ago
  • 2.7.4                                ...           5 months ago
  • 2.7.3                                ...           5 months ago
  • 2.7.3-alpha.0                                ...           5 months ago
  • 2.7.2                                ...           5 months ago
  • 2.7.1                                ...           5 months ago
  • 2.7.1-alpha.0                                ...           5 months ago
  • 2.6.1                                ...           5 months ago
  • 2.6.0                                ...           5 months ago
  • 2.5.2                                ...           5 months ago
  • 2.5.1                                ...           5 months ago
  • 2.5.0                                ...           5 months ago
  • 2.4.4                                ...           5 months ago
  • 2.4.3                                ...           5 months ago
  • 2.4.2                                ...           5 months ago
  • 2.4.1                                ...           5 months ago
  • 2.4.0                                ...           5 months ago
  • 2.3.0                                ...           5 months ago
  • 2.2.8-alpha.0                                ...           5 months ago
  • 2.2.7                                ...           5 months ago
  • 2.2.6                                ...           6 months ago
  • 2.2.5                                ...           6 months ago
  • 2.2.4                                ...           6 months ago
  • 2.2.3                                ...           6 months ago
  • 2.2.2                                ...           6 months ago
  • 2.2.1                                ...           6 months ago
  • 2.2.1-alpha.0                                ...           6 months ago
  • 2.2.0-alpha.0                                ...           6 months ago
  • 2.1.0-alpha.5                                ...           6 months ago
  • 2.1.0-alpha.4                                ...           6 months ago
  • 2.1.0-alpha.3                                ...           6 months ago
  • 2.1.0-alpha.2                                ...           6 months ago
  • 2.1.0-alpha.1                                ...           6 months ago
  • 2.1.0-alpha.0                                ...           6 months ago
  • 2.0.0-alpha.18                                ...           6 months ago
  • 2.0.0-alpha.17                                ...           6 months ago
  • 2.0.0-alpha.16                                ...           6 months ago
  • 2.0.0-alpha.15                                ...           6 months ago
  • 2.0.0-alpha.14                                ...           6 months ago
  • 2.0.0-alpha.13                                ...           6 months ago
  • 2.0.0-alpha.11                                ...           6 months ago
  • 2.0.0-alpha.10                                ...           6 months ago
  • 2.0.0-alpha.9                                ...           7 months ago
  • 2.0.0-alpha.8                                ...           7 months ago
  • 2.0.0-alpha.7                                ...           7 months ago
  • 2.0.0-alpha.6                                ...           7 months ago
  • 2.0.0-alpha.5                                ...           7 months ago
  • 2.0.0-alpha.4                                ...           7 months ago
  • 2.0.0-alpha.3                                ...           7 months ago
  • 2.0.0-alpha.2                                ...           7 months ago
  • 2.0.0-alpha.1                                ...           7 months ago
  • 2.0.0-alpha.0                                ...           7 months ago
  • 1.2.3-1.2.3-alpha.4.0                                ...           7 months ago
  • 1.2.3-alpha.3                                ...           8 months ago
  • 1.2.3-alpha.2                                ...           8 months ago
  • 1.2.3-alpha.1                                ...           8 months ago
  • 1.2.3-alpha.0                                ...           8 months ago
  • 1.2.2                                ...           8 months ago
  • 1.2.2-alpha.0                                ...           8 months ago
  • 1.2.1                                ...           8 months ago
  • 1.2.1-alpha.4                                ...           8 months ago
  • 1.2.1-alpha.3                                ...           8 months ago
  • 1.2.1-alpha.2                                ...           9 months ago
  • 1.2.1-alpha.1                                ...           9 months ago
  • 1.2.1-alpha.0                                ...           9 months ago
  • 1.2.0                                ...           9 months ago
  • 1.2.0-alpha.6                                ...           9 months ago
  • 1.2.0-alpha.5                                ...           9 months ago
  • 1.2.0-alpha.4                                ...           9 months ago
  • 1.2.0-alpha.3                                ...           9 months ago
  • 1.1.12-alpha.0                                ...           9 months ago
  • 1.1.11                                ...           9 months ago
  • 1.2.0-alpha.0                                ...           9 months ago
  • 1.1.10                                ...           9 months ago
  • 1.1.10-alpha.1                                ...           9 months ago
  • 1.1.10-alpha.0                                ...           9 months ago
  • 1.1.9                                ...           10 months ago
  • 1.1.8                                ...           10 months ago
  • 1.1.7                                ...           10 months ago
  • 1.1.6                                ...           10 months ago
  • 1.1.6-dev.0                                ...           10 months ago
  • 1.1.5                                ...           10 months ago
  • 1.1.4                                ...           10 months ago
  • 1.1.4-beta.0                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.10-dev.0                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.9-dev.0                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.1.15                                ...           a year ago
  • 0.1.14                                ...           a year ago
  • 0.1.12                                ...           a year ago
  • 0.1.11                                ...           a year ago
  • 0.1.10                                ...           a year ago
  • 0.1.9                                ...           a year ago
  • 0.1.5                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 360
Dependencies (37)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |