0.3.5 • Published 9 years ago

generator-kickstarting v0.3.5

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

What's this

This is an yeoman generator for easy kickstarting a project with handlebars & requirejs & bower & grunt. Also, it is an modification generator from assemble. I do this to make it more efficient to meet my aim.

These tasks such as release and server are easy for you to develop, dynamic compile the handlebars file into HTML, and release your project with production state( cssmin and jsmin).

How to use:

1. Prerequisites

If you ever install the yeoman, you can skip this stage.

Install Yeoman with command:

npm install -g yo  

and then you can kickstarting the project.

2. Install Kickstarting

npm install -g generator-kickstarting  

Now you can jump into the folder you want to generate your project, and input the command:

yo kickstarting  

Input your preference.

3. File Structure

src -> preview: realtime preview folder, the preview/assets/js folder is the place you put your js file in.

src -> data: you can use a json/xml file as data source for the handlebars page.

src -> templates: handlebars files, pages is the file you edit, and the layouts as a template layout.

assets -> js -> main.js & require-config.js: you can just ignore the main.amd.js, just edit the two files above.

assets -> sass: your sass file source structure.

4. Grunt Tasks

  • server: the development stage task for you to dynamic debug your project.
  • release: release your project as a production stage

5. Conclusion

I'm very glad to get anyones' opinion and pull-request.

And the future plan: integrate the browserify & gulp( optional) & ES6 Compiler( optional)

Just waiting for it. :P

0.3.5

9 years ago

0.3.4

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago