{
  "_args": [
    [
      {
        "raw": "ember-try@^0.2.15",
        "scope": null,
        "escapedName": "ember-try",
        "name": "ember-try",
        "rawSpec": "^0.2.15",
        "spec": ">=0.2.15 <0.3.0",
        "type": "range"
      },
      "/home/travis/build/lukesargeant/ember-sparkline/node_modules/ember-cli"
    ]
  ],
  "_from": "ember-try@>=0.2.15 <0.3.0",
  "_id": "ember-try@0.2.22",
  "_inCache": true,
  "_location": "/ember-try",
  "_nodeVersion": "8.6.0",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/ember-try-0.2.22.tgz_1510703630588_0.48213009419851005"
  },
  "_npmUser": {
    "name": "rwjblue",
    "email": "me@rwjblue.com"
  },
  "_npmVersion": "5.5.1",
  "_phantomChildren": {
    "graceful-fs": "4.1.11",
    "jsonfile": "2.4.0",
    "klaw": "1.3.1",
    "path-is-absolute": "1.0.1",
    "rimraf": "2.6.2"
  },
  "_requested": {
    "raw": "ember-try@^0.2.15",
    "scope": null,
    "escapedName": "ember-try",
    "name": "ember-try",
    "rawSpec": "^0.2.15",
    "spec": ">=0.2.15 <0.3.0",
    "type": "range"
  },
  "_requiredBy": [
    "/ember-cli"
  ],
  "_resolved": "https://registry.npmjs.org/ember-try/-/ember-try-0.2.22.tgz",
  "_shasum": "3989e9c013c1d5c209ec97f5dfcf4234e594d5e2",
  "_shrinkwrap": null,
  "_spec": "ember-try@^0.2.15",
  "_where": "/home/travis/build/lukesargeant/ember-sparkline/node_modules/ember-cli",
  "author": {
    "name": "Katie Gengler"
  },
  "bugs": {
    "url": "https://github.com/ember-cli/ember-try/issues"
  },
  "dependencies": {
    "chalk": "^1.0.0",
    "cli-table2": "^0.2.0",
    "core-object": "^1.1.0",
    "debug": "^2.2.0",
    "ember-try-config": "^2.2.0",
    "extend": "^3.0.0",
    "fs-extra": "^0.26.0",
    "promise-map-series": "^0.2.1",
    "resolve": "^1.1.6",
    "rimraf": "^2.3.2",
    "rsvp": "^3.0.17",
    "semver": "^5.1.0"
  },
  "description": "An ember-cli addon to test against multiple bower dependencies, such as ember and ember-data.",
  "devDependencies": {
    "bower": "^1.8.2",
    "broccoli-asset-rev": "^2.4.2",
    "chai": "^3.5.0",
    "codeclimate-test-reporter": "^0.3.1",
    "ember-cli": "2.12.0",
    "ember-cli-app-version": "^1.0.0",
    "ember-cli-babel": "^5.1.3",
    "ember-cli-dependency-checker": "^1.2.0",
    "ember-cli-htmlbars": "^1.0.3",
    "ember-cli-htmlbars-inline-precompile": "^0.3.1",
    "ember-cli-inject-live-reload": "^1.4.0",
    "ember-cli-qunit": "^2.1.0",
    "ember-cli-release": "^0.2.9",
    "ember-cli-sri": "^2.1.0",
    "ember-cli-test-loader": "^1.1.0",
    "ember-cli-uglify": "^1.2.0",
    "ember-disable-prototype-extensions": "^1.1.0",
    "ember-export-application-global": "^1.0.5",
    "ember-load-initializers": "^0.5.1",
    "ember-resolver": "^2.0.3",
    "eslint": "^3.16.1",
    "glob": "^7.0.0",
    "istanbul": "1.0.0-alpha.2",
    "loader.js": "^4.0.1",
    "mocha": "^4.0.0",
    "mockery": "^1.4.0",
    "tmp-sync": "^1.1.0"
  },
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "dist": {
    "integrity": "sha512-5NKqlKCGWqTUWAA61/dchIFKG2loqEBcHHI4ZbCHToKdK82NTzWkifxryhmwzFE0c9MomvQ3Rza7yxVD5C9rMw==",
    "shasum": "3989e9c013c1d5c209ec97f5dfcf4234e594d5e2",
    "tarball": "https://registry.npmjs.org/ember-try/-/ember-try-0.2.22.tgz"
  },
  "ember-addon": {
    "configPath": "tests/dummy/config"
  },
  "engines": {
    "node": ">= 4.5"
  },
  "gitHead": "09011c0bd38e6d4afd84c807b09d04c7d18b31b2",
  "homepage": "https://github.com/ember-cli/ember-try#readme",
  "keywords": [
    "ember-addon",
    "testing"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "katiegengler",
      "email": "katie@kmg.io"
    },
    {
      "name": "kellyselden",
      "email": "kellyselden@gmail.com"
    },
    {
      "name": "rwjblue",
      "email": "me@rwjblue.com"
    },
    {
      "name": "stefanpenner",
      "email": "stefan.penner@gmail.com"
    }
  ],
  "name": "ember-try",
  "optionalDependencies": {},
  "readme": "# ember-try\n\n[![npm version](https://badge.fury.io/js/ember-try.svg)](https://badge.fury.io/js/ember-try) [![Build Status](https://travis-ci.org/ember-cli/ember-try.svg?branch=master)](https://travis-ci.org/ember-cli/ember-try) [![Ember Observer Score](http://emberobserver.com/badges/ember-try.svg)](http://emberobserver.com/addons/ember-try) [![Build status](https://ci.appveyor.com/api/projects/status/9sswkni8pfuvo4dv/branch/master?svg=true)](https://ci.appveyor.com/project/kategengler/ember-try/branch/master) [![Code Climate](https://codeclimate.com/github/ember-cli/ember-try/badges/gpa.svg)](https://codeclimate.com/github/ember-cli/ember-try) [![Test Coverage](https://codeclimate.com/github/ember-cli/ember-try/badges/coverage.svg)](https://codeclimate.com/github/ember-cli/ember-try/coverage)\n\nAn ember-cli addon to test against multiple bower and npm dependencies, such as `ember` and `ember-data`.\n\n### Installation\n\n```\nember install ember-try\n```\n\n### Usage\n\nThis addon provides a few commands:\n\n### `ember try:each`\n\nThis command will run `ember test` or the configured command with each scenario's specified in the config and exit appropriately.\n\nThis command is especially useful to use on CI to test against multiple `ember` versions.\n\nIn order to use an alternate config path or to group various scenarios together in a single `try:each` run, you can use\nthe `--config-path` option.\n\n```\n  ember try:each --config-path=\"config/legacy-scenarios.js\"\n```\n\nIf you need to know the scenario that is being run (i.e. to customize a test output file name) you can use the `EMBER_TRY_CURRENT_SCENARIO`\nenvironment variable.\n\n#### `ember try:one <scenario> (...options) --- <command (Default: ember test)>`\n\nThis command will run any `ember-cli` command with the specified scenario. The command will default to `ember test`, if no command is specified on the command-line or in configuration.\n\nFor example:\n\n```\n  ember try:one ember-1.11-with-ember-data-beta-16 --- ember test --reporter xunit\n```\n\nor\n\n```\n  ember try:one ember-1.11-with-ember-data-beta-16 --- ember serve\n```\n\nWhen running in a CI environment where changes are discarded you can skip resetting your environment back to its original state by specifying --skip-cleanup=true as an option to ember try.\n*Warning: If you use this option and, without cleaning up, build and deploy as the result of a passing test suite, it will build with the last set of dependencies ember try was run with.*\n\n```\n  ember try:one ember-1.11 --skip-cleanup=true --- ember test\n```\n\nIn order to use an alternate config path or to group various scenarios, you can use the `--config-path` option.\n\n```\n  ember try:one ember-1.13 --config-path=\"config/legacy-scenarios.js\"\n```\n\n#### `ember try:reset`\n\nThis command restores the original `bower.json` from `bower.json.ember-try`, `package.json` from `package.json.ember-try`, `rm -rf`s `bower_components` and `node_components` and runs `bower install` and `npm install`. For use if any of the other commands fail to clean up after (they run this by default on completion).\n\n#### `ember try:ember <semver-string>`\n\nRuns `ember test` or the command in config for each version of Ember that is possible under the semver string given. Configuration follows the rules given under the `versionCompatibility` heading below.\n\n#### `ember try:config`\n\nDisplays the configuration that will be used. Also takes an optional `--config-path`.\n\n#### (DEPRECATED) `ember try:testall`\n\nThis command was renamed to `ember try:each` to better reflect what it does. This command still works, though.\n\n#### (DEPRECATED) `ember try <scenario> <command (Default: test)>`\n\nThis command is deprecated in favor of `ember try:one`. There are several bugs with passing options to the specified command that will not be fixed.\n\n\n### Config\n\n##### versionCompatibility\nIf you're using `ember-try` with an Ember addon, there is a short cut to test many Ember versions. In your `package.json` under the `ember-addon` key, add the following:\n\n```json\n  \"ember-addon\": {\n    \"versionCompatibility\": {\n       \"ember\": \">1.11.0 <=2.0.0\"\n    }\n  }\n```\n\nThe value for \"ember\" can be any valid [semver statement](https://github.com/npm/node-semver).\nThis will autogenerate scenarios for each version of Ember that matches the statement. It will also include scenarios for `beta` and `canary` channels of Ember that will be allowed to fail.\nThese scenarios will ONLY be used if `scenarios` is NOT a key in the configuration file being used.\nIf `useVersionCompatibility` is set to `true` in the config file, the autogenerated scenarios will deep merge with any scenarios in the config file. For example, you could override just the `allowedToFail` property of the `ember-beta` scenario.\n\nTo keep this from getting out of hand, `ember-try` will limit the versions of Ember used to the lasted point release per minor version. For example, \">1.11.0 <=2.0.0\", would (as of writing) run with versions ['1.11.4', '1.12.2', '1.13.13', '2.0.0'].\n\n##### Configuration Files\n\nConfiguration will be read from a file in your ember app in `config/ember-try.js`. Here are the possible options:\n\n```js\n/*jshint node:true*/\n\nmodule.exports = function() {\n  return {\n    /*\n      `command` - a single command that, if set, will be the default command used by `ember-try`.\n      P.S. The command doesn't need to be an `ember <something>` command, they can be anything.\n      Keep in mind that this config file is JavaScript, so you can code in here to determine the command.\n    */\n    command: 'ember test --reporter xunit',\n    /*\n      `bowerOptions` - options to be passed to `bower`.\n    */\n    bowerOptions: ['--allow-root=true'],\n    /*\n      `npmOptions` - options to be passed to `npm`.\n    */\n    npmOptions: ['--loglevel=silent', '--no-shrinkwrap=true'],\n    /*\n      If set to true, the `versionCompatibility` key under `ember-addon` in `package.json` will be used to\n      automatically generate scenarios that will deep merge with any in this configuration file.\n    */\n    useVersionCompatibility: true,\n    scenarios: [\n      {\n        name: 'Ember 1.10 with ember-data',\n\n        /*\n          `command` can also be overridden at the scenario level.\n        */\n        command: 'ember test --filter ember-1-10',\n        bower: {\n          dependencies: {\n            'ember': '1.10.0',\n            'ember-data': '1.0.0-beta.15'\n          }\n        },\n      },\n      {\n        name: 'Ember 1.11.0-beta.5',\n        bower: {\n          dependencies: {\n            'ember': '1.11.0-beta.5'\n          }\n        }\n      },\n      {\n        name: 'Ember canary with Ember-Data 2.3.0',\n        /*\n          `allowedToFail` - If true, if this scenario fails it will not fail the entire try command.\n        */\n        allowedToFail: true,\n        npm: {\n          devDependencies: {\n            'ember-data': '2.3.0',\n\n            // you can remove any package by marking `null`\n            'some-optional-package': null\n          }\n        },\n        bower: {\n          dependencies: {\n            'ember': 'components/ember#canary'\n          },\n          resolutions: {\n            'ember': 'canary'\n          }\n        }\n      },\n      {\n        name: 'Ember beta',\n        bower: {\n          dependencies: {\n            'ember': 'components/ember#beta'\n          },\n          resolutions: { // Resolutions are only necessary when they do not match the version specified in `dependencies`\n            'ember': 'beta'\n          }\n        }\n      }\n    ]\n  };\n};\n```\n\nScenarios are sets of dependencies (`bower` and `npm` only). They can be specified exactly as in the `bower.json` or `package.json`\nThe `name` can be used to try just one scenario using the `ember try:one` command.\n\nIf no `config/ember-try.js` file is present, the default config will be used. This is the current default config:\n\n```js\n{\n  scenarios: [\n    {\n      name: 'default',\n      bower: {\n        dependencies: { } /* No dependencies needed as the\n                             default is already specified in\n                             the consuming app's bower.json */\n      }\n    },\n    {\n      name: 'ember-release',\n      bower: {\n        dependencies: {\n          ember: 'release'\n        }\n      }\n    },\n    {\n      name: 'ember-beta',\n      bower: {\n        dependencies: {\n          ember: 'beta'\n        }\n      }\n    },\n    {\n      name: 'ember-canary',\n      bower: {\n        dependencies: {\n          ember: 'canary'\n        }\n      }\n    }\n  ]\n}\n```\n\n##### Yarn\n\nIf you include `useYarn: true` in your `ember-try` config, all npm scenarios will use `yarn` for install with the `--no-lockfile` option. At cleanup, your dependencies will be restored to their prior state.\n \n##### A note on npm scenarios with lockfiles\n\nLockfiles are ignored by `ember-try`. (`yarn` will run with `--no-lockfile` and `npm` will be run with `--no-shrinkwrap`).\nWhen testing various scenarios, it's important to \"float\" dependencies so that the scenarios are run with the latest satisfying versions of dependencies a user of the project would get.\n\n### Video\n[![How to use EmberTry](https://i.vimeocdn.com/video/559399937_500.jpg)](https://vimeo.com/157688157)\n\nSee an example of using `ember-try` for CI [here](https://github.com/kategengler/ember-feature-flags/commit/aaf0226975c76630c875cf6b923fdc23b025aa79), and the resulting build [output](https://travis-ci.org/kategengler/ember-feature-flags/builds/55597086).\n\n### Special Thanks\n\n- Much credit is due to [Edward Faulkner](https://github.com/ef4) The scripts in [liquid-fire](https://github.com/ef4/liquid-fire) that test against multiple ember versions were the inspiration for this project.\n\n\n### Developing\n\n- Be sure to run `npm link` and `npm link ember-try`, otherwise any `ember try` commands you run will use the version of ember-try included by ember-cli itself.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ember-cli/ember-try.git"
  },
  "scripts": {
    "all-test": "npm run-script node-test && npm run-script smoke-test",
    "build": "ember build",
    "client-test": "./all-commands.sh",
    "lint": "eslint lib test",
    "node-test": "mocha test/**/*.js",
    "node-test-with-coverage": "istanbul cover _mocha test/**/*.js && ./upload-coverage.sh",
    "smoke-test": "./smoke-test.sh",
    "start": "ember server",
    "test": "npm run-script lint && npm run-script node-test && npm run-script client-test"
  },
  "version": "0.2.22"
}
