onedesign / generator-one-base

A foundation for One Design Company projects on the web.
Other
1 stars 1 forks source link

generator-one-base

A foundation for One Design Company projects on the web.

Features

Installation

Prerequisites

via npm link…

You can clone this repo and use npm link to use the cloned repo as your global version of generator-one-base

git clone git@github.com:onedesign/generator-one-base.git
cd generator-one-base
npm link

Use

Generate your new project:

yo one-base

Gulp Sub-Generator

If you want to add or update the gulp setup for an existing project (or a project previously created with generator-one-base) you can use the gulp sub-generator on its own:

cd project/to/run/generator
yo one-base:gulp

Use with existing projects: If you want to run this in a directory with an existing gulp setup, you might want to run it using the --force flag (yo one-base:gulp --force) to force it to overwrite any existing files. Before you do this though, make absolutely sure that you have the existing files committed in git or saved in some other way, or they will be lost forever.