omi/cli
dntzhang 91f8c696e7 fix window.Root problem 2017-03-15 15:20:43 +08:00
..
bin cli修改 2017-03-09 15:41:20 +08:00
lib update omi-cli to support creating a project with new directory. 2017-02-22 21:59:28 +08:00
template/app fix window.Root problem 2017-03-15 15:20:43 +08:00
.gitignore add omi-cli 2017-02-22 03:54:25 +08:00
.npmignore update omi-cli to support creating a project with new directory. 2017-02-22 21:59:28 +08:00
README.md update package.json 2017-02-23 08:57:15 +08:00
package.json fix window.Root problem 2017-03-15 15:20:43 +08:00

README.md

omi-cli

CLI for scaffolding Omi.js projects.

Installation

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

$ npm install omi-cli -g

Usage

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

Example:

$ omi init app

omi-cli will run npm to install dependencies.

Scaffolding

Using Gulp + Webpack + Babel + BrowserSync Scaffolding.

You can modify your project nameor modify the project detail by npm init.

development

$ npm run dev

build

$ npm run dist