109 lines
3.6 KiB
JSON
109 lines
3.6 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "regenerator-transform@^0.10.0",
|
|
"scope": null,
|
|
"escapedName": "regenerator-transform",
|
|
"name": "regenerator-transform",
|
|
"rawSpec": "^0.10.0",
|
|
"spec": ">=0.10.0 <0.11.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/babel-plugin-transform-regenerator"
|
|
]
|
|
],
|
|
"_from": "regenerator-transform@>=0.10.0 <0.11.0",
|
|
"_id": "regenerator-transform@0.10.1",
|
|
"_inCache": true,
|
|
"_location": "/regenerator-transform",
|
|
"_nodeVersion": "8.2.1",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/regenerator-transform-0.10.1.tgz_1503001769990_0.17979373037815094"
|
|
},
|
|
"_npmUser": {
|
|
"name": "benjamn",
|
|
"email": "ben@benjamn.com"
|
|
},
|
|
"_npmVersion": "5.3.0",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "regenerator-transform@^0.10.0",
|
|
"scope": null,
|
|
"escapedName": "regenerator-transform",
|
|
"name": "regenerator-transform",
|
|
"rawSpec": "^0.10.0",
|
|
"spec": ">=0.10.0 <0.11.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/babel-plugin-transform-regenerator"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz",
|
|
"_shasum": "1e4996837231da8b7f3cf4114d71b5691a0680dd",
|
|
"_shrinkwrap": null,
|
|
"_spec": "regenerator-transform@^0.10.0",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/babel-plugin-transform-regenerator",
|
|
"author": {
|
|
"name": "Ben Newman",
|
|
"email": "bn@cs.stanford.edu"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
"loose": true
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
"transform-runtime"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"babel-runtime": "^6.18.0",
|
|
"babel-types": "^6.19.0",
|
|
"private": "^0.1.6"
|
|
},
|
|
"description": "Explode async and generator functions into a state machine.",
|
|
"devDependencies": {
|
|
"babel-cli": "^6.9.0",
|
|
"babel-plugin-transform-runtime": "^6.9.0",
|
|
"babel-preset-env": "^1.2.2"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==",
|
|
"shasum": "1e4996837231da8b7f3cf4114d71b5691a0680dd",
|
|
"tarball": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz"
|
|
},
|
|
"keywords": [
|
|
"regenerator",
|
|
"runtime",
|
|
"generator",
|
|
"async"
|
|
],
|
|
"license": "BSD",
|
|
"main": "lib/index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "benjamn",
|
|
"email": "bn@cs.stanford.edu"
|
|
}
|
|
],
|
|
"name": "regenerator-transform",
|
|
"optionalDependencies": {},
|
|
"readme": "# regenerator-transform\n\nTransform async/generator functions with [regenerator](https://github.com/facebook/regenerator)\n\n## Installation\n\n```sh\n$ npm install regenerator-transform\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```js\n// without options\n{\n \"plugins\": [\"regenerator-transform\"]\n}\n// with options\n{\n \"plugins\": [\n [\"regenerator-transform\", {\n asyncGenerators: false, // true by default\n generators: false, // true by default\n async: false // true by default\n }]\n ]\n}\n```\n\n### Via CLI\n\n```sh\n$ babel --plugins regenerator-transform script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n plugins: [\"regenerator-transform\"]\n});\n```\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/regenerator/tree/master/packages/regenerator-transform"
|
|
},
|
|
"scripts": {
|
|
"prepublish": "babel src/ --out-dir lib/"
|
|
},
|
|
"version": "0.10.1"
|
|
}
|