91f8c696e7 | ||
---|---|---|
.. | ||
bin | ||
lib | ||
template/app | ||
.gitignore | ||
.npmignore | ||
README.md | ||
package.json |
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 name,or modify the project detail by npm init
.
development
$ npm run dev
build
$ npm run dist