{
  "_args": [
    [
      {
        "raw": "broccoli-asset-rev@^2.4.5",
        "scope": null,
        "escapedName": "broccoli-asset-rev",
        "name": "broccoli-asset-rev",
        "rawSpec": "^2.4.5",
        "spec": ">=2.4.5 <3.0.0",
        "type": "range"
      },
      "/home/travis/build/lukesargeant/ember-sparkline"
    ]
  ],
  "_from": "broccoli-asset-rev@>=2.4.5 <3.0.0",
  "_id": "broccoli-asset-rev@2.6.0",
  "_inCache": true,
  "_location": "/broccoli-asset-rev",
  "_nodeVersion": "7.1.0",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/broccoli-asset-rev-2.6.0.tgz_1502733272844_0.1629481518175453"
  },
  "_npmUser": {
    "name": "rwjblue",
    "email": "me@rwjblue.com"
  },
  "_npmVersion": "4.6.1",
  "_phantomChildren": {},
  "_requested": {
    "raw": "broccoli-asset-rev@^2.4.5",
    "scope": null,
    "escapedName": "broccoli-asset-rev",
    "name": "broccoli-asset-rev",
    "rawSpec": "^2.4.5",
    "spec": ">=2.4.5 <3.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "#DEV:/"
  ],
  "_resolved": "https://registry.npmjs.org/broccoli-asset-rev/-/broccoli-asset-rev-2.6.0.tgz",
  "_shasum": "0633fc3a0b2ba0c2c1d56fa9feb7b331fc83be6d",
  "_shrinkwrap": null,
  "_spec": "broccoli-asset-rev@^2.4.5",
  "_where": "/home/travis/build/lukesargeant/ember-sparkline",
  "author": {
    "name": "Rick Harrison"
  },
  "bugs": {
    "url": "https://github.com/rickharrison/broccoli-asset-rev/issues"
  },
  "dependencies": {
    "broccoli-asset-rewrite": "^1.1.0",
    "broccoli-filter": "^1.2.2",
    "json-stable-stringify": "^1.0.0",
    "minimatch": "^3.0.4",
    "rsvp": "^3.0.6"
  },
  "description": "broccoli asset revisions (fingerprint)",
  "devDependencies": {
    "broccoli": "^0.13.3",
    "broccoli-merge-trees": "^0.2.1",
    "codecov": "^1.0.1",
    "istanbul": "^0.4.1",
    "mocha": "^2.0.1",
    "sinon": "^1.14.1",
    "walk-sync": "^0.1.3"
  },
  "directories": {},
  "dist": {
    "shasum": "0633fc3a0b2ba0c2c1d56fa9feb7b331fc83be6d",
    "tarball": "https://registry.npmjs.org/broccoli-asset-rev/-/broccoli-asset-rev-2.6.0.tgz"
  },
  "ember-addon": {
    "main": "index.js"
  },
  "files": [
    "lib/",
    "index.js"
  ],
  "gitHead": "e5ee2bc70876015ff0c653409190b74831792d6f",
  "homepage": "https://github.com/rickharrison/broccoli-asset-rev",
  "keywords": [
    "broccoli",
    "broccoli-plugin",
    "asset",
    "rev",
    "fingerprint",
    "cloudfront",
    "cdn",
    "ember-addon"
  ],
  "license": "MIT",
  "main": "lib/asset-rev.js",
  "maintainers": [
    {
      "name": "turbo87",
      "email": "tobias.bieniek@gmx.de"
    },
    {
      "name": "rwjblue",
      "email": "me@rwjblue.com"
    },
    {
      "name": "stefanpenner",
      "email": "stefan.penner@gmail.com"
    },
    {
      "name": "nathanhammond",
      "email": "npm@nathanhammond.com"
    },
    {
      "name": "rickharrison",
      "email": "r@rickharrison.me"
    }
  ],
  "name": "broccoli-asset-rev",
  "optionalDependencies": {},
  "readme": "#broccoli-asset-rev\n\n[![Build Status](https://circleci.com/gh/rickharrison/broccoli-asset-rev.svg?style=shield)](https://circleci.com/gh/rickharrison/broccoli-asset-rev)\n[![codecov.io](https://codecov.io/github/rickharrison/broccoli-asset-rev/coverage.svg?branch=master&precision=2)](https://codecov.io/github/rickharrison/broccoli-asset-rev?branch=master)\n[![npm](https://img.shields.io/npm/v/broccoli-asset-rev.svg)](https://www.npmjs.com/package/broccoli-asset-rev)\n\n[Broccoli](https://github.com/broccolijs/broccoli) plugin to add fingerprint checksums to your files and update the source to reflect the new filenames.\n\nTurns\n\n```\n<script src=\"assets/appname.js\">\nbackground: url('/images/foo.png');\n```\n\nInto\n\n```\n<script src=\"https://subdomain.cloudfront.net/assets/appname-342b0f87ea609e6d349c7925d86bd597.js\">\nbackground: url('https://subdomain.cloudfront.net/images/foo-735d6c098496507e26bb40ecc8c1394d.png');\n```\n\n## Installation\n\n```js\nnpm install broccoli-asset-rev --save-dev\n```\n\n## Usage\n\n```js\nvar AssetRev = require('broccoli-asset-rev');\n\nvar assetNode = new AssetRev(node, {\n  extensions: ['js', 'css', 'png', 'jpg', 'gif'],\n  exclude: ['fonts/169929'],\n  replaceExtensions: ['html', 'js', 'css'],\n  prepend: 'https://subdomain.cloudfront.net/'\n});\n```\n\n## Options\n\n  - `extensions` - Default: `['js', 'css', 'png', 'jpg', 'gif', 'map']` - The file types to add md5 checksums.\n  - `exclude` - Default: `[]` - An array of globs. If a filename contains any item in the exclude array, it will not be fingerprinted.\n  - `replaceExtensions` - Default: `['html', 'css', 'js']` - The file types to replace source code with new checksum file names.\n  - `prepend` - Default: `''` - A string to prepend to all of the assets. Useful for CDN urls like `https://subdomain.cloudfront.net/`\n  - `generateRailsManifest` - Default: none - If true, will generate a `manifest.json` to be used by Sprockets for the Rails Asset Pipeline. The manifest will be fingerprinted by default but this can be avoided by adding `'manifest.json'` to the `exclude` list.\n  - `railsManifestPath` - Default: `'assets/manifest-HASH.json'` - The path in the destination folder to store the Rails manifest. Only for the default value, `HASH` will be replace with the fingerprint of the file.\n  - `customHash` - Default: none - If set, overrides the md5 checksum calculation with the result of calling `customHash(buffer, pathToFile)`. If it is not a `function`, `customHash` is used as the hash value. If it is set to `null`, fingerprinting is skipped and only prepending occurs.\n  - `generateAssetMap` - Default: false. If true, will generate a `assetMap.json` file in a `assets` directory on the output node. This file contains a mapping of the original asset name to the fingerprinted asset, like the following:\n  - `assetMapPath` - Default: `'assets/assetMap-HASH.json'` - The path in the destination folder to store the `assetMap.json` in. Only for the default value, `HASH` will be replace with the fingerprint of the file.\n\n```js\n{\n\tassets: {\n\t\tcss/file1.css: css/file1-sdaa7d6a87d6ada78ds.css,\n\t\timages/image1.png: images/image1-sdaa7d6a87d6ada78ds.css,\n\t}\n}\n```\n  - `fingerprintAssetMap` - Default: false. If true, will fingerprint `assetMap.json`.\n  - `ignore` - Default: `[]` - An array of strings.  If a filename contains any item in the ignore array, the contents of the file will not be processed for fingerprinting.\n  - `annotation` - Default: null. A human-readable description for this plugin instance.\n\n## Default settings\nThe default [settings](https://github.com/rickharrison/broccoli-asset-rev/blob/master/lib/default-options.js) are available if needed in your application or addon via:\n`var broccoliAssetRevDefaults = require( 'broccoli-asset-rev/lib/default-options' );`\n\n## Ember CLI addon usage\n\n```js\nvar app = new EmberApp({\n  fingerprint: {\n    exclude: ['fonts/169929'],\n    prepend: 'https://sudomain.cloudfront.net/'\n  }\n});\n```\n\n## Ember CLI addon options\n\n  - `enabled` - Default: `app.env === 'production'` - Boolean. Enables fingerprinting if true. **True by default if current environment is production.**\n  - `exclude` - Default: `[]` - An array of globs. If a filename contains any item in the exclude array, it will not be fingerprinted.\n  - `extensions` - Default: `['js', 'css', 'png', 'jpg', 'gif', 'map']` - The file types to add md5 checksums.\n  - `prepend` - Default: `''` - A string to prepend to all of the assets. Useful for CDN urls like `https://subdomain.cloudfront.net/`\n  - `replaceExtensions` - Default: `['html', 'css', 'js']` - The file types to replace source code with new checksum file names.\n\n[![ghit.me](https://ghit.me/badge.svg?repo=rickharrison/broccoli-asset-rev)](https://ghit.me/repo/rickharrison/broccoli-asset-rev)\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/rickharrison/broccoli-asset-rev.git"
  },
  "scripts": {
    "test": "mocha tests",
    "test:cover": "istanbul cover ./node_modules/mocha/bin/_mocha tests"
  },
  "version": "2.6.0"
}
