{ "_args": [ [ { "raw": "babel-plugin-transform-object-assign@^6.5.0", "scope": null, "escapedName": "babel-plugin-transform-object-assign", "name": "babel-plugin-transform-object-assign", "rawSpec": "^6.5.0", "spec": ">=6.5.0 <7.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-react-native" ] ], "_from": "babel-plugin-transform-object-assign@>=6.5.0 <7.0.0", "_id": "babel-plugin-transform-object-assign@6.22.0", "_inCache": true, "_location": "/babel-plugin-transform-object-assign", "_nodeVersion": "6.9.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/babel-plugin-transform-object-assign-6.22.0.tgz_1484872449974_0.20145762572064996" }, "_npmUser": { "name": "hzoo", "email": "hi@henryzoo.com" }, "_npmVersion": "3.10.10", "_phantomChildren": {}, "_requested": { "raw": "babel-plugin-transform-object-assign@^6.5.0", "scope": null, "escapedName": "babel-plugin-transform-object-assign", "name": "babel-plugin-transform-object-assign", "rawSpec": "^6.5.0", "spec": ">=6.5.0 <7.0.0", "type": "range" }, "_requiredBy": [ "/babel-preset-react-native" ], "_resolved": "https://registry.npmjs.org/babel-plugin-transform-object-assign/-/babel-plugin-transform-object-assign-6.22.0.tgz", "_shasum": "f99d2f66f1a0b0d498e346c5359684740caa20ba", "_shrinkwrap": null, "_spec": "babel-plugin-transform-object-assign@^6.5.0", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-react-native", "author": { "name": "Jed Watson" }, "dependencies": { "babel-runtime": "^6.22.0" }, "description": "Replace Object.assign with an inline helper", "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" }, "directories": {}, "dist": { "shasum": "f99d2f66f1a0b0d498e346c5359684740caa20ba", "tarball": "https://registry.npmjs.org/babel-plugin-transform-object-assign/-/babel-plugin-transform-object-assign-6.22.0.tgz" }, "keywords": [ "babel-plugin" ], "license": "MIT", "main": "lib/index.js", "maintainers": [ { "name": "amasad", "email": "amjad.masad@gmail.com" }, { "name": "hzoo", "email": "hi@henryzoo.com" }, { "name": "jmm", "email": "npm-public@jessemccarthy.net" }, { "name": "loganfsmyth", "email": "loganfsmyth@gmail.com" }, { "name": "sebmck", "email": "sebmck@gmail.com" }, { "name": "thejameskyle", "email": "me@thejameskyle.com" } ], "name": "babel-plugin-transform-object-assign", "optionalDependencies": {}, "readme": "# babel-plugin-transform-object-assign\n\n> Replace `Object.assign` with an inline helper. If you are authoring an application, rather than a library, it is recommended that you use the `Object.assign` polyfill instead.\n\n## Example\n\n**In**\n\n```javascript\nObject.assign(a, b);\n```\n\n**Out**\n\n```javascript\nvar _extends = ...;\n\n_extends(a, b);\n```\n\n## Caveats\n\n- Will only work with code of the form `Object.assign` or `Object['assign']`. The following patterns are not supported:\n\n ```javascript\n var { assign } = Object;\n var assign = Object.assign;\n ```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-object-assign\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n \"plugins\": [\"transform-object-assign\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-object-assign script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n plugins: [\"transform-object-assign\"]\n});\n```\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-object-assign" }, "scripts": {}, "version": "6.22.0" }