95 lines
3.7 KiB
JSON
95 lines
3.7 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "babel-plugin-transform-react-display-name@^6.5.0",
|
|
"scope": null,
|
|
"escapedName": "babel-plugin-transform-react-display-name",
|
|
"name": "babel-plugin-transform-react-display-name",
|
|
"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-react-display-name@>=6.5.0 <7.0.0",
|
|
"_id": "babel-plugin-transform-react-display-name@6.25.0",
|
|
"_inCache": true,
|
|
"_location": "/babel-plugin-transform-react-display-name",
|
|
"_nodeVersion": "6.9.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/babel-plugin-transform-react-display-name-6.25.0.tgz_1496957345533_0.45894206734374166"
|
|
},
|
|
"_npmUser": {
|
|
"name": "hzoo",
|
|
"email": "hi@henryzoo.com"
|
|
},
|
|
"_npmVersion": "4.6.1",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "babel-plugin-transform-react-display-name@^6.5.0",
|
|
"scope": null,
|
|
"escapedName": "babel-plugin-transform-react-display-name",
|
|
"name": "babel-plugin-transform-react-display-name",
|
|
"rawSpec": "^6.5.0",
|
|
"spec": ">=6.5.0 <7.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/babel-preset-fbjs",
|
|
"/babel-preset-react-native"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/babel-plugin-transform-react-display-name/-/babel-plugin-transform-react-display-name-6.25.0.tgz",
|
|
"_shasum": "67e2bf1f1e9c93ab08db96792e05392bf2cc28d1",
|
|
"_shrinkwrap": null,
|
|
"_spec": "babel-plugin-transform-react-display-name@^6.5.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-react-native",
|
|
"dependencies": {
|
|
"babel-runtime": "^6.22.0"
|
|
},
|
|
"description": "Add displayName to React.createClass calls",
|
|
"devDependencies": {
|
|
"babel-helper-plugin-test-runner": "^6.22.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "67e2bf1f1e9c93ab08db96792e05392bf2cc28d1",
|
|
"tarball": "https://registry.npmjs.org/babel-plugin-transform-react-display-name/-/babel-plugin-transform-react-display-name-6.25.0.tgz"
|
|
},
|
|
"keywords": [
|
|
"babel-plugin"
|
|
],
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "sebmck",
|
|
"email": "sebmck@gmail.com"
|
|
},
|
|
{
|
|
"name": "danez",
|
|
"email": "daniel@tschinder.de"
|
|
},
|
|
{
|
|
"name": "hzoo",
|
|
"email": "hi@henryzoo.com"
|
|
},
|
|
{
|
|
"name": "loganfsmyth",
|
|
"email": "loganfsmyth@gmail.com"
|
|
}
|
|
],
|
|
"name": "babel-plugin-transform-react-display-name",
|
|
"optionalDependencies": {},
|
|
"readme": "# babel-plugin-transform-react-display-name\n\n> Add displayName to `createReactClass` (and `React.createClass`) calls\n\n## Example\n\n**In**\n\n```js\nvar foo = React.createClass({}); // React <= 15\nvar bar = createReactClass({}); // React 16+\n```\n\n**Out**\n\n```js\nvar foo = React.createClass({\n displayName: \"foo\"\n}); // React <= 15\nvar bar = createReactClass({\n displayName: \"bar\"\n}); // React 16+\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-react-display-name\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n \"plugins\": [\"transform-react-display-name\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-react-display-name script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n plugins: [\"transform-react-display-name\"]\n});\n```\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-display-name"
|
|
},
|
|
"scripts": {},
|
|
"version": "6.25.0"
|
|
}
|