GT2/GT2-Android/node_modules/babel-core/package.json

141 lines
11 KiB
JSON
Raw Normal View History

{
"_args": [
[
{
"raw": "babel-core@^6.24.1",
"scope": null,
"escapedName": "babel-core",
"name": "babel-core",
"rawSpec": "^6.24.1",
"spec": ">=6.24.1 <7.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native"
]
],
"_from": "babel-core@>=6.24.1 <7.0.0",
"_id": "babel-core@6.26.0",
"_inCache": true,
"_location": "/babel-core",
"_nodeVersion": "6.9.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/babel-core-6.26.0.tgz_1502898861183_0.43529116874560714"
},
"_npmUser": {
"name": "hzoo",
"email": "hi@henryzoo.com"
},
"_npmVersion": "4.6.1",
"_phantomChildren": {},
"_requested": {
"raw": "babel-core@^6.24.1",
"scope": null,
"escapedName": "babel-core",
"name": "babel-core",
"rawSpec": "^6.24.1",
"spec": ">=6.24.1 <7.0.0",
"type": "range"
},
"_requiredBy": [
"/babel-register",
"/fbjs-scripts",
"/jest-runtime",
"/metro",
"/react-native"
],
"_resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz",
"_shasum": "af32f78b31a6fcef119c87b0fd8d9753f03a0bb8",
"_shrinkwrap": null,
"_spec": "babel-core@^6.24.1",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native",
"author": {
"name": "Sebastian McKenzie",
"email": "sebmck@gmail.com"
},
"dependencies": {
"babel-code-frame": "^6.26.0",
"babel-generator": "^6.26.0",
"babel-helpers": "^6.24.1",
"babel-messages": "^6.23.0",
"babel-register": "^6.26.0",
"babel-runtime": "^6.26.0",
"babel-template": "^6.26.0",
"babel-traverse": "^6.26.0",
"babel-types": "^6.26.0",
"babylon": "^6.18.0",
"convert-source-map": "^1.5.0",
"debug": "^2.6.8",
"json5": "^0.5.1",
"lodash": "^4.17.4",
"minimatch": "^3.0.4",
"path-is-absolute": "^1.0.1",
"private": "^0.1.7",
"slash": "^1.0.0",
"source-map": "^0.5.6"
},
"description": "Babel compiler core.",
"devDependencies": {
"babel-helper-fixtures": "^6.26.0",
"babel-helper-transform-fixture-test-runner": "^6.26.0",
"babel-polyfill": "^6.26.0"
},
"directories": {},
"dist": {
"shasum": "af32f78b31a6fcef119c87b0fd8d9753f03a0bb8",
"tarball": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz"
},
"homepage": "https://babeljs.io/",
"keywords": [
"6to5",
"babel",
"classes",
"const",
"es6",
"harmony",
"let",
"modules",
"transpile",
"transpiler",
"var",
"babel-core",
"compiler"
],
"license": "MIT",
"maintainers": [
{
"name": "thejameskyle",
"email": "me@thejameskyle.com"
},
{
"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-core",
"optionalDependencies": {},
"readme": "# babel-core\n\n> Babel compiler core.\n\n\n```javascript\nvar babel = require(\"babel-core\");\nimport { transform } from 'babel-core';\nimport * as babel from 'babel-core';\n```\n\nAll transformations will use your local configuration files (.babelrc or in package.json). See [options](#options) to disable it.\n\n## babel.transform(code: string, [options?](#options): Object)\n\nTransforms the passed in `code`. Returning an object with the generated code,\nsource map, and AST.\n\n```js\nbabel.transform(code, options) // => { code, map, ast }\n```\n\n**Example**\n\n```js\nvar result = babel.transform(\"code();\", options);\nresult.code;\nresult.map;\nresult.ast;\n```\n\n## babel.transformFile(filename: string, [options?](#options): Object, callback: Function)\n\nAsynchronously transforms the entire contents of a file.\n\n```js\nbabel.transformFile(filename, options, callback)\n```\n\n**Example**\n\n```js\nbabel.transformFile(\"filename.js\", options, function (err, result) {\n result; // => { code, map, ast }\n});\n```\n\n## babel.transformFileSync(filename: string, [options?](#options): Object)\n\nSynchronous version of `babel.transformFile`. Returns the transformed contents of\nthe `filename`.\n\n```js\nbabel.transformFileSync(filename, options) // => { code, map, ast }\n```\n\n**Example**\n\n```js\nbabel.transformFileSync(\"filename.js\", options).code;\n```\n\n## babel.transformFromAst(ast: Object, code?: string, [options?](#options): Object)\n\nGiven, an [AST](https://astexplorer.net/), transform it.\n\n```js\nconst code = \"if (true) return;\";\nconst ast = babylon.parse(code, { allowReturnOutsideFunction: true });\nconst { code, map, ast } = babel.transformFromAst(ast, code, options);\n```\n\n## Options\n\n<blockquote class=\"babel-callout babel-callout-info\">\n <h4>Babel CLI</h4>\n <p>\n You can pass these options from the Babel CLI like so:\n </p>\n <p>\n <code>babel --name<span class=\"o\">=</span>value</code>\n </p>\n</blockquote>\n\nFollowing is a table of the options you can use:\n\n| Option | Default | Description |\n| ------------------------ | -------------------- | ------------------------------- |\n| `ast` | `true` | Include the AST in the returned object |\n| `auxiliaryCommentAfter` | `null` | Attach a comment after all non-user injected code. |\n| `auxiliaryCommentBefore` | `null` | Attach a comment before all non-user injected code. |\n| `babelrc` | `true` | Specify whether or not to use .babelrc and .babelignore files. Not available when using the CLI, [use `--no-babelrc` instead](https://babeljs.io/docs/usage/cli/#babel-ignoring-babelrc). |\n| `code` | `true` | Enable code generation |\n| `comments` | `true` | Output comments in generated output. |\n| `compact` | `\"auto\"` | Do not include superfluous whitespace characters and line terminators. When set to `\"auto\"` compact is set to `true` on input sizes of >500KB. |\n| `env` | `{}` | This is an object of keys that represent different environments. For example, you may have: `{ env: { production: { /* specific options */ } } }` which will use those options when the environment variable `BABEL_ENV` is set to `\"production\"`. If `BABEL_ENV` isn't set then `NODE_ENV` will be used, if it's not set then it defaults to `\"development\"` |\n| `extends` | `null` | A path to an `.babelrc` file to extend |\n| `filename` | `\"unknown\"` | Filename for use in errors etc. |\n| `filenameRelative` | `(filename)` | Filename relative to `sourceRoot`. |\n| `generatorOpts` | `{}` | An object containing the options to be passed down to the babel code generator, babel-generator |\n| `getModuleId` | `null` | Specify a custom callback to generate a module id with. Call
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-core"
},
"scripts": {
"bench": "make bench",
"test": "make test"
},
"version": "6.26.0"
}