103 lines
3.7 KiB
JSON
103 lines
3.7 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "babel-plugin-transform-react-jsx-source@^6.5.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "babel-plugin-transform-react-jsx-source",
|
||
|
"name": "babel-plugin-transform-react-jsx-source",
|
||
|
"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-jsx-source@>=6.5.0 <7.0.0",
|
||
|
"_id": "babel-plugin-transform-react-jsx-source@6.22.0",
|
||
|
"_inCache": true,
|
||
|
"_location": "/babel-plugin-transform-react-jsx-source",
|
||
|
"_nodeVersion": "6.9.0",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "packages-12-west.internal.npmjs.com",
|
||
|
"tmp": "tmp/babel-plugin-transform-react-jsx-source-6.22.0.tgz_1484872456850_0.6164425157476217"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "hzoo",
|
||
|
"email": "hi@henryzoo.com"
|
||
|
},
|
||
|
"_npmVersion": "3.10.10",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "babel-plugin-transform-react-jsx-source@^6.5.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "babel-plugin-transform-react-jsx-source",
|
||
|
"name": "babel-plugin-transform-react-jsx-source",
|
||
|
"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-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz",
|
||
|
"_shasum": "66ac12153f5cd2d17b3c19268f4bf0197f44ecd6",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "babel-plugin-transform-react-jsx-source@^6.5.0",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-react-native",
|
||
|
"dependencies": {
|
||
|
"babel-plugin-syntax-jsx": "^6.8.0",
|
||
|
"babel-runtime": "^6.22.0"
|
||
|
},
|
||
|
"description": "Add a __source prop to all JSX Elements",
|
||
|
"devDependencies": {
|
||
|
"babel-helper-plugin-test-runner": "^6.22.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "66ac12153f5cd2d17b3c19268f4bf0197f44ecd6",
|
||
|
"tarball": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-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-react-jsx-source",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# babel-plugin-transform-react-jsx-source\n\n> Adds source file and line number to JSX elements.\n\n## Example\n\n**In**\n\n```\n<sometag />\n```\n\n**Out**\n\n```\n<sometag __source={ { fileName: 'this/file.js', lineNumber: 10 } } />\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-react-jsx-source\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n \"plugins\": [\"transform-react-jsx-source\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-react-jsx-source script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n plugins: [\"transform-react-jsx-source\"]\n});\n```\n",
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-jsx-source"
|
||
|
},
|
||
|
"scripts": {},
|
||
|
"version": "6.22.0"
|
||
|
}
|