3.2.0 • Published 6 years ago

generator-white-label v3.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

white label

Build Status

Scaffolding for developing and deploying sites.

Key Libraries

  • Babel
  • Foundation
  • Browserify
  • Browsersync
  • Gulp
  • Handlebars
  • Jasmine
  • Modernizr
  • Node Events
  • Karma
  • ReactJS
  • SCSS
  • White Label Model

Install Dependancies

IMPORTANT: Verify you have the latest versions of each of these if you have previously installed them.

Nodejs

http://nodejs.org

This project works with 'LTS' or 'Current'

Gulp

http://gulpjs.com

Other

Debian/Ubuntu Users: build-essential package

Node Modules

npm install;

Text Editor Config

Install the correct plugin for your text editor here:

http://editorconfig.org/#download

This will normalize settings like what tab character(s) to use and will avoid linting errors.

Gulp Tasks

Watch

gulp watch;

This will create a Browsersync server and reload your browser window(s) as you make code changes.

Learn more about Browsersync here: https://www.browsersync.io

Deploy

This compiles and bundles everything into a deploy ready package outputted in the '_deploy' directory.

gulp deploy --www=(www domain - required) --cdn=(cdn domain - required) --service=(service domain - required) --production=(true|false - optional) --version=(unique deploy version - optional);

The 'version' argument defaults to an epoch timestamp and the 'production' argument defaults to 'false'.

Example

gulp deploy --www=//www.example.com --cdn=//cdn.example.com --service=//service.example.com --version=123456789 --production=true;

Unit Tests

watch:

gulp unitWatch;

single run:

gulp unit;

More

These in additional to other tasks run as dependencies of the 'watch' and 'deploy' tasks.

gulp markup;
gulp style;
gulp script;
gulp accessibility;
gulp documentation;

Test If Your Project Will Build

Run this when you want to verify your changes will build properly on the CI server before pushing:

npm test;

NPM Shrinkwrap

This project uses npm shrinkwrap to freeze npm module versions for improved project stability. More information here: https://docs.npmjs.com/cli/shrinkwrap.

Using it with Yeoman

Install as a node module:

npm install generator-white-label -g;

Then in an empty directory:

yo white-label;

Learn more about Yeoman here: https://yeoman.io

3.2.0

6 years ago

3.0.0

7 years ago

2.2.25

7 years ago

2.2.24

7 years ago

2.2.23

7 years ago

2.2.22

8 years ago

2.2.21

8 years ago

2.2.20

8 years ago

2.2.19

8 years ago

2.2.18

8 years ago

2.2.17

8 years ago

2.2.15

8 years ago

2.2.14

8 years ago

2.2.12

8 years ago

2.2.11

8 years ago

2.2.10

8 years ago

2.2.9

8 years ago

2.2.8

8 years ago

2.2.7

8 years ago

2.2.6

8 years ago

2.1.5

8 years ago

2.1.4

8 years ago

2.1.3

8 years ago

2.1.2

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.13

8 years ago

2.0.12

8 years ago

2.0.11

8 years ago

2.0.10

8 years ago