tm-cli
#### 安装环境
Last updated a month ago by liu.hl .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install tm-cli 
SYNC missed versions from official npm registry.

tm-cli

安装环境

  • node v10.15.0+,npm6.4.1+

使用

// 全局安装
npm i -g tm-cli

// 查看命令
tm

命令参数说明

- tm 查看全部命令
- tm -v 查看版本
- tm i 初始化项目模板选择,构建新的项目(以中后台项目为主)
- tm start 开发环境 默认打开 http://localhost:9090。可选参数 -e 可添加自定义  process.env.APP_ENV 的值,可作为区分应用环境。同时 process.env 中默认内置了版本号的标记和构建时间戳的标记
- tm build  部署构建打包,生成dist目录。可选参数 -e 同上
- 项目初始化浏览器控制台会打印 process.env 中的配置信息比如版本、构建时间
详细中文文档

Current Tags

  • 0.2.0-beta.14                                ...           latest (a month ago)

24 Versions

  • 0.2.0-beta.14                                ...           a month ago
  • 0.2.0-beta.13                                ...           3 months ago
  • 0.2.0-beta.12                                ...           5 months ago
  • 0.2.0-beta.11                                ...           5 months ago
  • 0.2.0-beta.10                                ...           5 months ago
  • 0.2.0-beta.9                                ...           5 months ago
  • 0.2.0-beta.8                                ...           5 months ago
  • 0.2.0-beta.7                                ...           5 months ago
  • 0.2.0-beta.6                                ...           6 months ago
  • 0.2.0-beta.5                                ...           6 months ago
  • 0.2.0-beta.4                                ...           6 months ago
  • 0.2.0-beta.3                                ...           6 months ago
  • 0.2.0-beta.2                                ...           6 months ago
  • 0.2.0-beta.1                                ...           7 months ago
  • 0.1.9                                ...           a year ago
  • 0.1.8                                ...           a year ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           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
Maintainers (1)
Downloads
Today 0
This Week 19
This Month 22
Last Day 7
Last Week 8
Last Month 45
Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |