185 lines
6.9 KiB
JSON
185 lines
6.9 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "babel-preset-react-native@^4.0.0",
|
|
"scope": null,
|
|
"escapedName": "babel-preset-react-native",
|
|
"name": "babel-preset-react-native",
|
|
"rawSpec": "^4.0.0",
|
|
"spec": ">=4.0.0 <5.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-expo"
|
|
]
|
|
],
|
|
"_from": "babel-preset-react-native@>=4.0.0 <5.0.0",
|
|
"_id": "babel-preset-react-native@4.0.0",
|
|
"_inCache": true,
|
|
"_location": "/babel-preset-react-native",
|
|
"_nodeVersion": "8.5.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/babel-preset-react-native-4.0.0.tgz_1505391099961_0.9598081859294325"
|
|
},
|
|
"_npmUser": {
|
|
"name": "rafeca",
|
|
"email": "rafeca@gmail.com"
|
|
},
|
|
"_npmVersion": "5.3.0",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "babel-preset-react-native@^4.0.0",
|
|
"scope": null,
|
|
"escapedName": "babel-preset-react-native",
|
|
"name": "babel-preset-react-native",
|
|
"rawSpec": "^4.0.0",
|
|
"spec": ">=4.0.0 <5.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/babel-preset-expo",
|
|
"/metro"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/babel-preset-react-native/-/babel-preset-react-native-4.0.0.tgz",
|
|
"_shasum": "3df80dd33a453888cdd33bdb87224d17a5d73959",
|
|
"_shrinkwrap": null,
|
|
"_spec": "babel-preset-react-native@^4.0.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-expo",
|
|
"bugs": {
|
|
"url": "https://github.com/facebook/react-native/issues"
|
|
},
|
|
"dependencies": {
|
|
"babel-plugin-check-es2015-constants": "^6.5.0",
|
|
"babel-plugin-react-transform": "^3.0.0",
|
|
"babel-plugin-syntax-async-functions": "^6.5.0",
|
|
"babel-plugin-syntax-class-properties": "^6.5.0",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
"babel-plugin-syntax-flow": "^6.5.0",
|
|
"babel-plugin-syntax-jsx": "^6.5.0",
|
|
"babel-plugin-syntax-trailing-function-commas": "^6.5.0",
|
|
"babel-plugin-transform-class-properties": "^6.5.0",
|
|
"babel-plugin-transform-es2015-arrow-functions": "^6.5.0",
|
|
"babel-plugin-transform-es2015-block-scoping": "^6.5.0",
|
|
"babel-plugin-transform-es2015-classes": "^6.5.0",
|
|
"babel-plugin-transform-es2015-computed-properties": "^6.5.0",
|
|
"babel-plugin-transform-es2015-destructuring": "^6.5.0",
|
|
"babel-plugin-transform-es2015-for-of": "^6.5.0",
|
|
"babel-plugin-transform-es2015-function-name": "^6.5.0",
|
|
"babel-plugin-transform-es2015-literals": "^6.5.0",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.5.0",
|
|
"babel-plugin-transform-es2015-parameters": "^6.5.0",
|
|
"babel-plugin-transform-es2015-shorthand-properties": "^6.5.0",
|
|
"babel-plugin-transform-es2015-spread": "^6.5.0",
|
|
"babel-plugin-transform-es2015-template-literals": "^6.5.0",
|
|
"babel-plugin-transform-flow-strip-types": "^6.5.0",
|
|
"babel-plugin-transform-object-assign": "^6.5.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.5.0",
|
|
"babel-plugin-transform-react-display-name": "^6.5.0",
|
|
"babel-plugin-transform-react-jsx": "^6.5.0",
|
|
"babel-plugin-transform-react-jsx-source": "^6.5.0",
|
|
"babel-plugin-transform-regenerator": "^6.5.0",
|
|
"babel-template": "^6.24.1",
|
|
"react-transform-hmr": "^1.0.4"
|
|
},
|
|
"description": "Babel preset for React Native applications",
|
|
"devDependencies": {},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-Wfbo6x244nUbBxjr7hQaNFdjj7FDYU+TVT7cFVPEdVPI68vhN52iLvamm+ErhNdHq6M4j1cMT6AJBYx7Wzdr0g==",
|
|
"shasum": "3df80dd33a453888cdd33bdb87224d17a5d73959",
|
|
"tarball": "https://registry.npmjs.org/babel-preset-react-native/-/babel-preset-react-native-4.0.0.tgz"
|
|
},
|
|
"homepage": "https://github.com/facebook/react-native/tree/master/babel-preset/README.md",
|
|
"keywords": [
|
|
"babel",
|
|
"preset",
|
|
"react-native"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "abi",
|
|
"email": "abimanyuraja@gmail.com"
|
|
},
|
|
{
|
|
"name": "bestander",
|
|
"email": "bestander@gmail.com"
|
|
},
|
|
{
|
|
"name": "brentvatne",
|
|
"email": "brentvatne@gmail.com"
|
|
},
|
|
{
|
|
"name": "ccheever",
|
|
"email": "ccheever@gmail.com"
|
|
},
|
|
{
|
|
"name": "davepack",
|
|
"email": "dave@expo.io"
|
|
},
|
|
{
|
|
"name": "davidaurelio",
|
|
"email": "dev@david-aurelio.com"
|
|
},
|
|
{
|
|
"name": "dikaiosune",
|
|
"email": "adam.n.perry@gmail.com"
|
|
},
|
|
{
|
|
"name": "expoadmin",
|
|
"email": "exponent.team@gmail.com"
|
|
},
|
|
{
|
|
"name": "fb",
|
|
"email": "opensource+npm@fb.com"
|
|
},
|
|
{
|
|
"name": "ide",
|
|
"email": "ide+npm@jameside.com"
|
|
},
|
|
{
|
|
"name": "jeanlauliac",
|
|
"email": "jean@lauliac.com"
|
|
},
|
|
{
|
|
"name": "jesseruder",
|
|
"email": "jesse@sixfivezero.net"
|
|
},
|
|
{
|
|
"name": "mjesun",
|
|
"email": "mjesun@hotmail.com"
|
|
},
|
|
{
|
|
"name": "nikki93",
|
|
"email": "s.nikhilesh@gmail.com"
|
|
},
|
|
{
|
|
"name": "rafeca",
|
|
"email": "rafeca@gmail.com"
|
|
},
|
|
{
|
|
"name": "skevy",
|
|
"email": "adam@sk3vy.com"
|
|
},
|
|
{
|
|
"name": "terribleben",
|
|
"email": "ben@exp.host"
|
|
},
|
|
{
|
|
"name": "wilzh40",
|
|
"email": "wilzh40@gmail.com"
|
|
}
|
|
],
|
|
"name": "babel-preset-react-native",
|
|
"optionalDependencies": {},
|
|
"readme": "# babel-preset-react-native\n\nBabel presets for React Native applications. React Native itself uses this Babel preset by default when transforming your app's source code.\n\nIf you wish to use a custom Babel configuration by writing a `.babelrc` file in your project's root directory, you must specify all the plugins necessary to transform your code. React Native does not apply its default Babel configuration in this case. So, to make your life easier, you can use this preset to get the default configuration and then specify more plugins that run before it.\n\n## Usage\n\nAs mentioned above, you only need to use this preset if you are writing a custom `.babelrc` file.\n\n### Installation\n\nInstall `babel-preset-react-native` in your app:\n```sh\nnpm i babel-preset-react-native --save-dev\n```\n\n### Configuring Babel\n\nThen, create a file called `.babelrc` in your project's root directory. The existence of this `.babelrc` file will tell React Native to use your custom Babel configuration instead of its own. Then load this preset:\n```\n{\n \"presets\": [\"react-native\"]\n}\n```\n\nYou can further customize your Babel configuration by specifying plugins and other options. See [Babel's `.babelrc` documentation](https://babeljs.io/docs/usage/babelrc/) to learn more.\n\n## Help and Support\n\nIf you get stuck configuring Babel, please ask a question on Stack Overflow or find a consultant for help. If you discover a bug, please open up an issue.\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react-native/tree/master/babel-preset"
|
|
},
|
|
"version": "4.0.0"
|
|
}
|