111 lines
3.4 KiB
JSON
111 lines
3.4 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "babel-preset-flow@^6.23.0",
|
|
"scope": null,
|
|
"escapedName": "babel-preset-flow",
|
|
"name": "babel-preset-flow",
|
|
"rawSpec": "^6.23.0",
|
|
"spec": ">=6.23.0 <7.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/@expo/schemer"
|
|
]
|
|
],
|
|
"_from": "babel-preset-flow@>=6.23.0 <7.0.0",
|
|
"_id": "babel-preset-flow@6.23.0",
|
|
"_inCache": true,
|
|
"_location": "/babel-preset-flow",
|
|
"_nodeVersion": "6.9.1",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-12-west.internal.npmjs.com",
|
|
"tmp": "tmp/babel-preset-flow-6.23.0.tgz_1487034855931_0.6768502427730709"
|
|
},
|
|
"_npmUser": {
|
|
"name": "loganfsmyth",
|
|
"email": "loganfsmyth@gmail.com"
|
|
},
|
|
"_npmVersion": "3.10.8",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "babel-preset-flow@^6.23.0",
|
|
"scope": null,
|
|
"escapedName": "babel-preset-flow",
|
|
"name": "babel-preset-flow",
|
|
"rawSpec": "^6.23.0",
|
|
"spec": ">=6.23.0 <7.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/@expo/schemer"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz",
|
|
"_shasum": "e71218887085ae9a24b5be4169affb599816c49d",
|
|
"_shrinkwrap": null,
|
|
"_spec": "babel-preset-flow@^6.23.0",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/@expo/schemer",
|
|
"author": {
|
|
"name": "James Kyle",
|
|
"email": "me@thejameskyle.com"
|
|
},
|
|
"dependencies": {
|
|
"babel-plugin-transform-flow-strip-types": "^6.22.0"
|
|
},
|
|
"description": "Babel preset for all Flow plugins.",
|
|
"devDependencies": {},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "e71218887085ae9a24b5be4169affb599816c49d",
|
|
"tarball": "https://registry.npmjs.org/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz"
|
|
},
|
|
"keywords": [
|
|
"babel-preset",
|
|
"flowtype",
|
|
"flow",
|
|
"types"
|
|
],
|
|
"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": "simnalamburt",
|
|
"email": "simnalamburt@gmail.com"
|
|
},
|
|
{
|
|
"name": "thejameskyle",
|
|
"email": "me@thejameskyle.com"
|
|
}
|
|
],
|
|
"name": "babel-preset-flow",
|
|
"optionalDependencies": {},
|
|
"readme": "# babel-preset-flow\n\n> Babel preset for all Flow plugins.\n\nThis preset includes the following plugins:\n\n- [transform-flow-strip-types](https://babeljs.io/docs/plugins/transform-flow-strip-types/)\n\n## Example\n\n**In**\n\n```javascript\nfunction foo(one: any, two: number, three?): string {}\n```\n\n**Out**\n\n```javascript\nfunction foo(one, two, three) {}\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-preset-flow\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n \"presets\": [\"flow\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --presets flow script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n presets: [\"flow\"]\n});\n```\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/babel/babel/tree/master/packages/babel-preset-flow"
|
|
},
|
|
"scripts": {},
|
|
"version": "6.23.0"
|
|
}
|