The Cofounders frontend stack generator for Yeoman.
npm install -g generator-cfsg
Make a new directory, and
cd into it:
mkdir my-new-project && cd $_
yo cfsg, optionally passing an app name:
yo cfsg [app-name]
Note: Generators are to be run from the root directory of your app.
Sets up a new app based on the Cofounders frontend stack, generating all the boilerplate you need to get started.
Once done, run
npm start to build and launch your brand new app.
See README.md to learn the Cofounders frontend stack.
See: app/USAGE or run
yo cfsg --help
Adds a new module to the app by setting up a sensible directory structure.
Modules try to balance between an unwieldy number of tiny snippets and huge monolithic files. They work best on mid- to large-scale projects.
See: module/USAGE or run
yo cfsg:module --help
Adds a Backbone Model, View, or Controller to an app module. Injects code snippets and creates placeholders.
See: mvc/USAGE or run
yo cfsg:mvc --help
Adds external dependencies to the app for resources hosted on CDNJS.
Using external dependencies has several benefits:
See: cdnjs/USAGE or run
yo cfsg:cdnjs --help
Changes the license under which the app is published.
Choose from a set of common open source licenses.
See: legal/USAGE or run
yo cfsg:legal --help
Utility to help keep the project coding style consistent.
Warning: Measure twice cut once.
See: editorconfig/USAGE or run
yo cfsg:editorconfig --help