New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

omi-cli

Package Overview
Dependencies
Maintainers
4
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

omi-cli

CLI for scaffolding Omi.js projects.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-54.55%
Maintainers
4
Weekly downloads
 
Created
Source

omi-cli

CLI for Omi projects - Omi框架的命令行工具

Installation

Prerequisites: Node.js (>=6.x), npm version 3+

$ npm install omi-cli -g

Usage

initialize a new omi application :

$ omi init                          // in current directory
$ omi init [project name]           // in new directroy named project name

Scaffolding is based on webpack2. omi-cli will run npm command to install dependencies automatically. You could switch the mirror source with:

$ omi init app -m cnpm 

we support to shift from default to npm, cnpm or taobao mirror.

development

$ npm run dev

build

$ npm run dist

omi pr

initialize a new omi-pr project :

$ omi init-pr                          // in current directory
$ omi init-pr [project name]           // in new directroy named project name

pre-render your project for speeding up your web page access times, you can run:

$ omi pr

in your omi-pr project.

Contributors

nameavatarscompany
pasturnMars Holding
heyliTencent
dntzhangTencent

License

This content is released under the MIT License.

Keywords

FAQs

Package last updated on 18 May 2017

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