{
  "_args": [
    [
      {
        "raw": "babel-plugin-ember-modules-api-polyfill@^2.0.1",
        "scope": null,
        "escapedName": "babel-plugin-ember-modules-api-polyfill",
        "name": "babel-plugin-ember-modules-api-polyfill",
        "rawSpec": "^2.0.1",
        "spec": ">=2.0.1 <3.0.0",
        "type": "range"
      },
      "/home/travis/build/lukesargeant/ember-sparkline/node_modules/ember-cli-babel"
    ]
  ],
  "_from": "babel-plugin-ember-modules-api-polyfill@>=2.0.1 <3.0.0",
  "_id": "babel-plugin-ember-modules-api-polyfill@2.2.1",
  "_inCache": true,
  "_location": "/babel-plugin-ember-modules-api-polyfill",
  "_nodeVersion": "4.8.5",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/babel-plugin-ember-modules-api-polyfill-2.2.1.tgz_1509965193845_0.44441202539019287"
  },
  "_npmUser": {
    "name": "ember-cli",
    "email": "stefan.penner+ember-cli@gmail.com"
  },
  "_npmVersion": "2.15.11",
  "_phantomChildren": {},
  "_requested": {
    "raw": "babel-plugin-ember-modules-api-polyfill@^2.0.1",
    "scope": null,
    "escapedName": "babel-plugin-ember-modules-api-polyfill",
    "name": "babel-plugin-ember-modules-api-polyfill",
    "rawSpec": "^2.0.1",
    "spec": ">=2.0.1 <3.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/ember-cli-babel"
  ],
  "_resolved": "https://registry.npmjs.org/babel-plugin-ember-modules-api-polyfill/-/babel-plugin-ember-modules-api-polyfill-2.2.1.tgz",
  "_shasum": "e63f90cc3c71cc6b3b69fb51b4f60312d6cf734c",
  "_shrinkwrap": null,
  "_spec": "babel-plugin-ember-modules-api-polyfill@^2.0.1",
  "_where": "/home/travis/build/lukesargeant/ember-sparkline/node_modules/ember-cli-babel",
  "author": {
    "name": "Robert Jackson",
    "email": "me@rwjblue.com"
  },
  "bugs": {
    "url": "https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill/issues"
  },
  "changelog": {
    "repo": "ember-cli/babel-plugin-ember-modules-api-polyfill",
    "labels": {
      "breaking": ":boom: Breaking Change",
      "enhancement": ":rocket: Enhancement",
      "bug": ":bug: Bug Fix",
      "documentation": ":memo: Documentation",
      "internal": ":house: Internal"
    }
  },
  "dependencies": {
    "ember-rfc176-data": "^0.3.0"
  },
  "description": "Polyfill for Ember JS API.",
  "devDependencies": {
    "babel-core": "^6.25.0",
    "lerna-changelog": "^0.6.0",
    "qunit-eslint": "^1.0.0",
    "qunitjs": "^2.3.3"
  },
  "directories": {
    "test": "tests"
  },
  "dist": {
    "shasum": "e63f90cc3c71cc6b3b69fb51b4f60312d6cf734c",
    "tarball": "https://registry.npmjs.org/babel-plugin-ember-modules-api-polyfill/-/babel-plugin-ember-modules-api-polyfill-2.2.1.tgz"
  },
  "gitHead": "bbf5fd6eae27de8d712e5c36d83f31dcee79166d",
  "homepage": "https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill#readme",
  "keywords": [
    "babel-plugin"
  ],
  "license": "MIT",
  "main": "src/index.js",
  "maintainers": [
    {
      "name": "ember-cli",
      "email": "stefan.penner+ember-cli@gmail.com"
    },
    {
      "name": "turbo87",
      "email": "tobias.bieniek@gmx.de"
    },
    {
      "name": "stefanpenner",
      "email": "stefan.penner@gmail.com"
    },
    {
      "name": "rwjblue",
      "email": "me@rwjblue.com"
    }
  ],
  "name": "babel-plugin-ember-modules-api-polyfill",
  "optionalDependencies": {},
  "readme": "# babel-plugin-ember-modules-api-polyfill\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/ember-cli/babel-plugin-ember-modules-api-polyfill.svg)](https://greenkeeper.io/)\n\n> This plugin transforms [JavaScript modules API](https://github.com/emberjs/rfcs/blob/master/text/0176-javascript-module-api.md) import statements\n> back to the legacy \"global\" ember object syntax\n\n## Example\n\n```js\nimport { inject } from \"@ember/service\"\n```\nback to the legacy\n```js\nconst inject = Ember.inject.service\n```\n\n## Installation\n\n`npm install --save babel-plugin-ember-modules-api-polyfill`\n\n## Why\n\nThis plugin provides an API polyfill to allow ember addon authors to adopt the new\n[JavaScript modules API](https://github.com/emberjs/rfcs/blob/master/text/0176-javascript-module-api.md) whilst still maintaining backwards \ncompatibility with older versions of Ember that do not support the new modules API.\n\nThe intention of this Babel plugin is to also allow for a transition period and allow applications to exist in a mixed state whilst transitioning \nfrom the old \"global\" ember object pattern, into the new modular pattern.\n\n# How\n\nUsing the [ember-rfc176-data](https://github.com/ember-cli/ember-rfc176-data) package, that contains the official mapping of old global\nobject names to the new JS modules API import statements, addons that adopt the new API can be transpiled back to the legacy format if Ember-CLI\ndetects that the host application ember version does not support the new modules API.\n\nThe plugin supports both default `import Component from \"@ember/component\"` and named `import { inject } from \"@ember/service\"` import statements,\nconverting their syntax back to separate `const` variables within the source file. This transpilation is done at compile time by Ember CLI.\n\nIn order for ember addon developers to adopt this new API syntax, they must declare a dependency on `ember-cli-babel:v6.6.0` or above in their\npackage.json:\n\n```json\n{\n  \"dependencies\": {\n    \"ember-cli-babel\": \"^6.6.0\"\n  }\n}\n```\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill.git"
  },
  "scripts": {
    "changelog": "lerna-changelog",
    "start": "qunit --watch tests/**/*-test.js",
    "test": "qunit tests/**/*-test.js"
  },
  "version": "2.2.1"
}
