Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

A foundation for One Design Company projects on the web.

License

Notifications You must be signed in to change notification settings

onedesign/generator-one-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-one-base

A foundation for One Design Company projects on the web.

Features

  • Gulp-based build process that handles style, javascript, and image compilation and optimization with lots of nice features baked right in.
  • SCSS-based style structure with all of the base styles and tools you need to hit the ground running.
  • Modular Javascript setup powered by Webpack and support for next-generation syntax via Babel
  • Installs latest versions of all development tools and optional frontend libraries via npm
  • Development server with live reload, powered by BrowserSync that can optionally proxy an existing URL.
  • Pull Request template for consistent pull requests
  • Pre-commit hook that checks for commonly used logging functions and doesn't allow you to commit when they are present.

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 [email protected]: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.

About

A foundation for One Design Company projects on the web.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published