0.0.2 • Published 9 years ago

generator-cmy v0.0.2

Weekly downloads
4
License
-
Repository
github
Last release
9 years ago

generator-cmy Build Status

It's a generator for Yeoman that aimed to automatically create a front-end development framework,containing a set of grunt plugins to help you testing,compiling,linting,concating,uglifying your javascript codes.

You can also read a Chinese version of document here:帮助文档

Getting Started

Pre-requirements

You need to have Nodejs and Yeoman workflow kit(Yo,Bower and Grunt) installed firstly.

Quick start with cmy generator

Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in of Yeoman,and generator-cmy is one of them.

To install generator-cmy from npm, run:

$ npm install -g generator-cmy

Finally, initiate your project with the generator in your project folder:

$ yo cmy

To initiate your project without the automatic execution of bower and npm after scaffolding has finished, run:

$ yo cmy --skip-install

Run grunt command and start writing codes in src folder,then have fun.

demonstration

Configuration

Gruntfile.js and bower.json are the config files.You don't need to configure anything before you start using cmy,cuz they had been configured to meet your basic requirement of development when you initiated the project.

If you'd like to get things done better, check out the Grunt and Bower for more information,all configurations you need to know are based on them.

License

MIT License