generator-corejs v0.1.0
generator-corejs 
A Yeoman generator for coreJS projects.
Usage
- Install
yo,grunt,bower,generator-corejs:
npm install -g grunt bower yo generator-corejs- Make a new directory, and
cdinto it:
mkdir my-new-project && cd $_- Run
yo corejs, optionally passing an app name:
yo corejs [app-name]Run grunt for building and grunt server for preview. For more details to manage your corejs project with grunt see this documentation.
Generators
Available generators:
App
Sets up a new coreJS app, generating all the boilerplate you need to get started. The app generator also optionally installs kiUI and additional coreJS modules.
Example:
yo corejsModule
Generates a module boilerplate inside coreJS project. This new module contains its own controller and entry point, and build its scaffolding as how the user decides.
Example:
yo corejs:module mymoduleProduces app/scripts/mymodule/:
.
+-- controller.js
+-- dispatcher.js
+-- start.js
+-- css
| +-- mymodule.scss
| +-- main.scss
+-- views
| +-- defaultView.js
+-- templates
| +-- default.html
+-- res
| +--config.json
11 years ago