0.0.2 • Published 8 years ago

build-gzip v0.0.2

Weekly downloads
35
License
MIT
Repository
github
Last release
8 years ago

build-gzip

Build Status

Compress static assets after compilation

Installing

build-gzip is available as an npm package.

Usage

Add build-bin and build-gzip to the package.json.

{
  "name": "project",
  "private": true,
  "scripts": {
    "build": "build"
  },
  "devDependencies": {
    "build-bin": "^0.0.6",
    "build-gzip": "^0.0.1"
  }
}

From the command line, run:

npm run build

build-gzip will compress all files in the dist directory into new files suffixed with .gz. build-bin will ensure that compilation plugins run first before this compression plugin.

Development

Getting Started

The application requires the following external dependencies:

  • Node.js

The rest of the dependencies are handled through:

npm install

Run tests with:

npm test