{
  "_args": [
    [
      {
        "raw": "merge-trees@^1.0.1",
        "scope": null,
        "escapedName": "merge-trees",
        "name": "merge-trees",
        "rawSpec": "^1.0.1",
        "spec": ">=1.0.1 <2.0.0",
        "type": "range"
      },
      "/home/travis/build/lukesargeant/ember-sparkline/node_modules/ember-cli/node_modules/broccoli-merge-trees"
    ]
  ],
  "_from": "merge-trees@>=1.0.1 <2.0.0",
  "_id": "merge-trees@1.0.1",
  "_inCache": true,
  "_location": "/merge-trees",
  "_nodeVersion": "7.4.0",
  "_npmOperationalInternal": {
    "host": "packages-18-east.internal.npmjs.com",
    "tmp": "tmp/merge-trees-1.0.1.tgz_1488484130949_0.3280270746909082"
  },
  "_npmUser": {
    "name": "joliss",
    "email": "joliss42@gmail.com"
  },
  "_npmVersion": "4.0.5",
  "_phantomChildren": {},
  "_requested": {
    "raw": "merge-trees@^1.0.1",
    "scope": null,
    "escapedName": "merge-trees",
    "name": "merge-trees",
    "rawSpec": "^1.0.1",
    "spec": ">=1.0.1 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/ember-cli-shims/broccoli-merge-trees",
    "/ember-cli/broccoli-merge-trees",
    "/ember-qunit/broccoli-merge-trees",
    "/ember-resolver/broccoli-merge-trees",
    "/ember-source/broccoli-merge-trees"
  ],
  "_resolved": "https://registry.npmjs.org/merge-trees/-/merge-trees-1.0.1.tgz",
  "_shasum": "ccbe674569787f9def17fd46e6525f5700bbd23e",
  "_shrinkwrap": null,
  "_spec": "merge-trees@^1.0.1",
  "_where": "/home/travis/build/lukesargeant/ember-sparkline/node_modules/ember-cli/node_modules/broccoli-merge-trees",
  "author": {
    "name": "Jo Liss",
    "email": "joliss42@gmail.com"
  },
  "bugs": {
    "url": "https://github.com/broccolijs/node-merge-trees/issues"
  },
  "dependencies": {
    "can-symlink": "^1.0.0",
    "fs-tree-diff": "^0.5.4",
    "heimdalljs": "^0.2.1",
    "heimdalljs-logger": "^0.1.7",
    "rimraf": "^2.4.3",
    "symlink-or-copy": "^1.0.0"
  },
  "description": "Incrementally merge directories.",
  "devDependencies": {
    "chai": "^3.4.0",
    "chai-files": "^1.4.0",
    "fixturify": "^0.3.1",
    "fs-extra": "^1.0.0",
    "mocha": "^2.3.3",
    "mocha-jshint": "^2.2.5"
  },
  "directories": {},
  "dist": {
    "shasum": "ccbe674569787f9def17fd46e6525f5700bbd23e",
    "tarball": "https://registry.npmjs.org/merge-trees/-/merge-trees-1.0.1.tgz"
  },
  "files": [
    "index.js",
    "entry.js"
  ],
  "gitHead": "adb4f9011d5242afe3a0e93587a567b73758cce3",
  "homepage": "https://github.com/broccolijs/node-merge-trees#readme",
  "keywords": [
    "merge",
    "copy"
  ],
  "license": "MIT",
  "main": "index.js",
  "maintainers": [
    {
      "name": "joliss",
      "email": "joliss42@gmail.com"
    }
  ],
  "name": "merge-trees",
  "optionalDependencies": {},
  "readme": "# node-merge-trees\n\n[![Build Status](https://travis-ci.org/broccolijs/node-merge-trees.svg?branch=master)](https://travis-ci.org/broccolijs/node-merge-trees)\n[![Build status](https://ci.appveyor.com/api/projects/status/6c47hp9omebk09tq/branch/master?svg=true)](https://ci.appveyor.com/project/joliss/node-merge-trees/branch/master)\n\nSymlink or copy multiple trees of files on top of each other, resulting in a single merged tree.\n\nOptimized for repeated (incremental) merging.\n\n## Installation\n\n```bash\nnpm install --save merge-trees\n```\n\n## Usage\n\n* `new MergeTrees(inputPaths, outputPath, options)`:\n\n    * **`inputPaths`**: An array of paths to the input directories\n\n    * **`outputPath`**: The path to the output directory. Must exist and be empty.\n\n    * **`options`**: A hash of options\n\n* `mergeTrees.merge()`: Merge the input directories into the output directory.\n  Can be called repeatedly for efficient incremental merging.\n\n### Options\n\n* `overwrite`: By default, node-merge-trees throws an error when a file\n  exists in multiple nodes. If you pass `{ overwrite: true }`, the output\n  will contain the version of the file as it exists in the last input\n  directory that contains it.\n\n* `annotation`: A note to help with logging.\n\n### Example\n\n```js\nvar MergeTrees = require('merge-trees');\n\nvar mergeTrees = new MergeTrees(\n  ['public', 'scripts'],\n  'output-dir',\n  { overwrite: true });\n\n// Recursively symlink all files from the \"public\" and \"scripts\"\n// directories into the \"output-dir\" directory.\nmergeTrees.merge()\n\n// ... add or remove files or directories in some input directories ...\n\n// Incrementally update the output directory (efficient).\nmergeTrees.merge()\n```\n\nSay the directory structure is as follows:\n\n    .\n    ├─ public\n    │  ├─ index.html\n    │  └─ images\n    │     └─ logo.png\n    ├─ scripts\n    │  └─ app.js\n    ├─ output-dir\n    …\n\nRunning `mergeTrees.merge()` will generate this folder:\n\n    .\n    ├─ …\n    └─ output-dir\n       ├─ app.js\n       ├─ index.html\n       └─ images\n          └─ logo.png\n\nThe parent folders, `public` and `scripts` in this case, are not included in the output. The output tree contains only the files *within* each folder, all mixed together.\n\n## Contributing\n\nClone this repo and run the tests like so:\n\n```\nnpm install\nnpm test\n```\n\nIssues and pull requests are welcome. If you change code, be sure to re-run\n`npm test`. Oftentimes it's useful to add or update tests as well.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/broccolijs/node-merge-trees.git"
  },
  "scripts": {
    "test": "mocha",
    "test:debug": "mocha debug"
  },
  "version": "1.0.1"
}
