1.2.0 • Published 6 years ago

tr-cli v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

TR-CLI

一个全局的命令行工具用来创建一个新的项目

安装

npm install -g tr-cli

创建一个应用程序

tr-cli init

name:myapp //你的项目名字myapp

version1.0.0:: //版本号(默认为1.0.0)

cd my-app

项目结构

运行

首先运行预打包

npm run start:pre

开发调试

npm start

运行测试

npm run test

上线打包

npm run build

配置Node环境

npm run n

其他