105 lines
4.1 KiB
JSON
105 lines
4.1 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "babel-plugin-transform-es2015-shorthand-properties@^6.5.0",
|
|
"scope": null,
|
|
"escapedName": "babel-plugin-transform-es2015-shorthand-properties",
|
|
"name": "babel-plugin-transform-es2015-shorthand-properties",
|
|
"rawSpec": "^6.5.0",
|
|
"spec": ">=6.5.0 <7.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/babel-preset-react-native"
|
|
]
|
|
],
|
|
"_from": "babel-plugin-transform-es2015-shorthand-properties@>=6.5.0 <7.0.0",
|
|
"_id": "babel-plugin-transform-es2015-shorthand-properties@6.24.1",
|
|
"_inCache": true,
|
|
"_location": "/babel-plugin-transform-es2015-shorthand-properties",
|
|
"_nodeVersion": "6.9.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-18-east.internal.npmjs.com",
|
|
"tmp": "tmp/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz_1491578349312_0.1297836024314165"
|
|
},
|
|
"_npmUser": {
|
|
"name": "hzoo",
|
|
"email": "hi@henryzoo.com"
|
|
},
|
|
"_npmVersion": "3.10.10",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "babel-plugin-transform-es2015-shorthand-properties@^6.5.0",
|
|
"scope": null,
|
|
"escapedName": "babel-plugin-transform-es2015-shorthand-properties",
|
|
"name": "babel-plugin-transform-es2015-shorthand-properties",
|
|
"rawSpec": "^6.5.0",
|
|
"spec": ">=6.5.0 <7.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/babel-preset-es2015-node",
|
|
"/babel-preset-fbjs",
|
|
"/babel-preset-react-native"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz",
|
|
"_shasum": "24f875d6721c87661bbd99a4622e51f14de38aa0",
|
|
"_shrinkwrap": null,
|
|
"_spec": "babel-plugin-transform-es2015-shorthand-properties@^6.5.0",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/babel-preset-react-native",
|
|
"dependencies": {
|
|
"babel-runtime": "^6.22.0",
|
|
"babel-types": "^6.24.1"
|
|
},
|
|
"description": "Compile ES2015 shorthand properties to ES5",
|
|
"devDependencies": {
|
|
"babel-helper-plugin-test-runner": "^6.24.1"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "24f875d6721c87661bbd99a4622e51f14de38aa0",
|
|
"tarball": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.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-es2015-shorthand-properties",
|
|
"optionalDependencies": {},
|
|
"readme": "# babel-plugin-transform-es2015-shorthand-properties\n\n> Compile ES2015 shorthand properties to ES5\n\n## Example\n\n**In**\n\n```js\nvar o = { a, b, c };\n```\n\n**Out**\n\n```js\nvar o = { a: a, b: b, c: c };\n```\n\n**In**\n\n```js\nvar cat = {\n getName() {\n return name;\n }\n};\n```\n\n**Out**\n\n```js\nvar cat = {\n getName: function () {\n return name;\n }\n};\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-es2015-shorthand-properties\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n \"plugins\": [\"transform-es2015-shorthand-properties\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-es2015-shorthand-properties script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n plugins: [\"transform-es2015-shorthand-properties\"]\n});\n```\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-shorthand-properties"
|
|
},
|
|
"scripts": {},
|
|
"version": "6.24.1"
|
|
}
|