JSPM

  • Created
  • Published
  • Downloads 13345
  • Score
    100M100P100Q142013F

Collection of common gear tasks

Package Exports

  • gear-lib

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gear-lib) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gear-lib

Collection of common gear tasks

Useful tasks to lint, minify, and deploy assets.

Installation

npm install gear-lib

Quick Examples

Deploy to S3

gear.queue()
 .files(['foo.js', 'bar.js', 'baz.js']
 .concat()
 .jslint()
 .jsminify()
 .s3()
 .run();

Documentation

Tasks

Tasks

### jslint()

Lint Javascript files.

Example

.jslint()

### jsminify()

Minify Javascript files.

Example

.jsminify()

### csslint()

Lint CSS files.

Example

.csslint()

### cssminify()

Minify CSS files.

Example

.cssminify()

### s3()

Deploy file to S3.

Example

.s3()