GT2/GT2-iOS/node_modules/babel-register/package.json

108 lines
5.6 KiB
JSON

{
"_args": [
[
{
"raw": "babel-register@^6.24.1",
"scope": null,
"escapedName": "babel-register",
"name": "babel-register",
"rawSpec": "^6.24.1",
"spec": ">=6.24.1 <7.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/react-native"
]
],
"_from": "babel-register@>=6.24.1 <7.0.0",
"_id": "babel-register@6.26.0",
"_inCache": true,
"_location": "/babel-register",
"_nodeVersion": "6.9.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/babel-register-6.26.0.tgz_1502898863058_0.9258956837002188"
},
"_npmUser": {
"name": "hzoo",
"email": "hi@henryzoo.com"
},
"_npmVersion": "4.6.1",
"_phantomChildren": {},
"_requested": {
"raw": "babel-register@^6.24.1",
"scope": null,
"escapedName": "babel-register",
"name": "babel-register",
"rawSpec": "^6.24.1",
"spec": ">=6.24.1 <7.0.0",
"type": "range"
},
"_requiredBy": [
"/babel-core",
"/metro",
"/react-native"
],
"_resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz",
"_shasum": "6ed021173e2fcb486d7acb45c6009a856f647071",
"_shrinkwrap": null,
"_spec": "babel-register@^6.24.1",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/react-native",
"author": {
"name": "Sebastian McKenzie",
"email": "sebmck@gmail.com"
},
"browser": "lib/browser.js",
"dependencies": {
"babel-core": "^6.26.0",
"babel-runtime": "^6.26.0",
"core-js": "^2.5.0",
"home-or-tmp": "^2.0.0",
"lodash": "^4.17.4",
"mkdirp": "^0.5.1",
"source-map-support": "^0.4.15"
},
"description": "babel require hook",
"devDependencies": {
"decache": "^4.1.0"
},
"directories": {},
"dist": {
"shasum": "6ed021173e2fcb486d7acb45c6009a856f647071",
"tarball": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz"
},
"license": "MIT",
"main": "lib/node.js",
"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-register",
"optionalDependencies": {},
"readme": "# babel-register\n\n> The require hook will bind itself to node's require and automatically compile files on the fly.\n\nOne of the ways you can use Babel is through the require hook. The require hook\nwill bind itself to node's `require` and automatically compile files on the\nfly. This is equivalent to CoffeeScript's\n[coffee-script/register](http://coffeescript.org/v2/annotated-source/register.html).\n\n## Install\n\n```sh\nnpm install babel-register --save-dev\n```\n\n## Usage\n\n```js\nrequire(\"babel-register\");\n```\n\nAll subsequent files required by node with the extensions `.es6`, `.es`, `.jsx`\nand `.js` will be transformed by Babel.\n\n<blockquote class=\"babel-callout babel-callout-info\">\n <h4>Polyfill not included</h4>\n <p>\n You must include the <a href=\"https://babeljs.io/docs/usage/polyfill/\">polyfill</a> separately\n when using features that require it, like generators.\n </p>\n</blockquote>\n\n### Ignores `node_modules` by default\n\n**NOTE:** By default all requires to `node_modules` will be ignored. You can\noverride this by passing an ignore regex via:\n\n```js\nrequire(\"babel-register\")({\n // This will override `node_modules` ignoring - you can alternatively pass\n // an array of strings to be explicitly matched or a regex / glob\n ignore: false\n});\n```\n\n## Specifying options\n\n```javascript\nrequire(\"babel-register\")({\n // Optional ignore regex - if any filenames **do** match this regex then they\n // aren't compiled.\n ignore: /regex/,\n\n // Ignore can also be specified as a function.\n ignore: function(filename) {\n if (filename === \"/path/to/es6-file.js\") {\n return false;\n } else {\n return true;\n }\n },\n\n // Optional only regex - if any filenames **don't** match this regex then they\n // aren't compiled\n only: /my_es6_folder/,\n\n // Setting this will remove the currently hooked extensions of .es6, `.es`, `.jsx`\n // and .js so you'll have to add them back if you want them to be used again.\n extensions: [\".es6\", \".es\", \".jsx\", \".js\"],\n\n // Setting this to false will disable the cache.\n cache: true\n});\n```\n\nYou can pass in all other [options](https://babeljs.io/docs/usage/api/#options) as well,\nincluding `plugins` and `presets`. But note that the closest [`.babelrc`](https://babeljs.io/docs/usage/babelrc/)\nto each file still applies, and takes precedence over any options you pass in here.\n\n## Environment variables\n\nBy default `babel-node` and `babel-register` will save to a json cache in your\ntemporary directory.\n\nThis will heavily improve with the startup and compilation of your files. There\nare however scenarios where you want to change this behaviour and there are\nenvironment variables exposed to allow you to do this.\n\n### BABEL_CACHE_PATH\n\nSpecify a different cache location.\n\n```sh\nBABEL_CACHE_PATH=/foo/my-cache.json babel-node script.js\n```\n\n### BABEL_DISABLE_CACHE\n\nDisable the cache.\n\n```sh\nBABEL_DISABLE_CACHE=1 babel-node script.js\n```\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-register"
},
"scripts": {},
"version": "6.26.0"
}