@marsjs/cli
## 安装
Last updated 8 months ago by mars-js .
Original npm · Tarball · package.json
$ cnpm install @marsjs/cli 
SYNC missed versions from official npm registry.

@marsjs-cli

安装

npm i -g @marsjs-cli

创建项目

mars create my-project

如创建的项目不需要支持 h5,选择 仅小程序 否则。若需要支持 h5,选择 小程序和 H5

开发项目

mars serve

可通过 -t 设置编译目标,可选值为 swan | wx | h5,默认 swan

构建项目(用于上线)

mars build

可通过 -t 设置编译目标,可选值为 swan | wx | h5,默认 swan

升级当前项目 Mars 相关依赖库

mars update

相当于 npm update

可指定 -f 来升级到最新版本,

mars update -f

相当于 npm install xxx@latest

Current Tags

  • 0.3.4                                ...           alpha (9 months ago)
  • 0.3.7                                ...           latest (8 months ago)
  • 0.3.7                                ...           next (8 months ago)

31 Versions

  • 0.3.7                                ...           8 months ago
  • 0.3.6                                ...           9 months ago
  • 0.3.6-beta.1                                ...           9 months ago
  • 0.3.6-beta.0                                ...           9 months ago
  • 0.3.5                                ...           9 months ago
  • 0.3.4                                ...           9 months ago
  • 0.3.3                                ...           9 months ago
  • 0.3.2                                ...           9 months ago
  • 0.3.1                                ...           9 months ago
  • 0.3.1-alpha.3                                ...           9 months ago
  • 0.3.1-alpha.2                                ...           9 months ago
  • 0.3.1-alpha.1                                ...           9 months ago
  • 0.3.1-alpha.0                                ...           9 months ago
  • 0.1.25                                ...           a year ago
  • 0.1.24                                ...           a year ago
  • 0.1.23                                ...           a year ago
  • 0.1.22                                ...           a year ago
  • 0.1.21                                ...           a year ago
  • 0.1.20                                ...           a year ago
  • 0.1.19                                ...           a year ago
  • 0.1.18                                ...           a year ago
  • 0.1.17                                ...           a year ago
  • 0.1.16                                ...           a year ago
  • 0.1.15                                ...           a year ago
  • 0.1.14                                ...           a year ago
  • 0.1.13                                ...           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.8                                ...           a year ago
Downloads
Today 0
This Week 2
This Month 44
Last Day 0
Last Week 38
Last Month 22
Dependencies (12)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |