Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@marsjs/cli

Package Overview
Dependencies
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marsjs/cli

## 安装

  • 0.3.7
  • next
  • latest
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

@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

FAQs

Package last updated on 18 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc