Current Dev State

This commit is contained in:
Tim Lorsbach
2025-06-23 20:13:54 +02:00
parent b4f9bb277d
commit ded50edaa2
22617 changed files with 4345095 additions and 174 deletions

View File

@ -0,0 +1,35 @@
# babel-plugin-syntax-flow
## Installation
```sh
$ npm install babel-plugin-syntax-flow
```
## Usage
### Via `.babelrc` (Recommended)
**.babelrc**
```json
{
"plugins": ["syntax-flow"]
}
```
### Via CLI
```sh
$ babel --plugins syntax-flow script.js
```
### Via Node API
```javascript
require("babel-core").transform("code", {
plugins: ["syntax-flow"]
});
```

View File

@ -0,0 +1,13 @@
"use strict";
exports.__esModule = true;
exports.default = function () {
return {
manipulateOptions: function manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("flow");
}
};
};
module.exports = exports["default"];

View File

@ -0,0 +1,41 @@
{
"_from": "babel-plugin-syntax-flow@^6.18.0",
"_id": "babel-plugin-syntax-flow@6.18.0",
"_inBundle": false,
"_integrity": "sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=",
"_location": "/babel-plugin-syntax-flow",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "babel-plugin-syntax-flow@^6.18.0",
"name": "babel-plugin-syntax-flow",
"escapedName": "babel-plugin-syntax-flow",
"rawSpec": "^6.18.0",
"saveSpec": null,
"fetchSpec": "^6.18.0"
},
"_requiredBy": [
"/babel-plugin-transform-flow-strip-types"
],
"_resolved": "https://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz",
"_shasum": "4c3ab20a2af26aa20cd25995c398c4eb70310c8d",
"_spec": "babel-plugin-syntax-flow@^6.18.0",
"_where": "/home/manfred/enviPath/ketcher2/ketcher/node_modules/babel-plugin-transform-flow-strip-types",
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "Allow parsing of the flow syntax",
"devDependencies": {},
"keywords": [
"babel-plugin"
],
"license": "MIT",
"main": "lib/index.js",
"name": "babel-plugin-syntax-flow",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-flow"
},
"version": "6.18.0"
}