This commit is contained in:
Simon Priet
2021-09-05 22:53:58 +02:00
commit 9e2991e668
17888 changed files with 1263126 additions and 0 deletions

22
node_modules/@babel/preset-react/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,22 @@
MIT License
Copyright (c) 2014-2018 Sebastian McKenzie <sebmck@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

19
node_modules/@babel/preset-react/README.md generated vendored Normal file
View File

@@ -0,0 +1,19 @@
# @babel/preset-react
> Babel preset for all React plugins.
See our website [@babel/preset-react](https://babeljs.io/docs/en/next/babel-preset-react.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20react%22+is%3Aopen) associated with this package.
## Install
Using npm:
```sh
npm install --save-dev @babel/preset-react
```
or using yarn:
```sh
yarn add @babel/preset-react --dev
```

82
node_modules/@babel/preset-react/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,82 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
function _helperPluginUtils() {
const data = require("@babel/helper-plugin-utils");
_helperPluginUtils = function () {
return data;
};
return data;
}
function _pluginTransformReactJsx() {
const data = _interopRequireDefault(require("@babel/plugin-transform-react-jsx"));
_pluginTransformReactJsx = function () {
return data;
};
return data;
}
function _pluginTransformReactDisplayName() {
const data = _interopRequireDefault(require("@babel/plugin-transform-react-display-name"));
_pluginTransformReactDisplayName = function () {
return data;
};
return data;
}
function _pluginTransformReactJsxSource() {
const data = _interopRequireDefault(require("@babel/plugin-transform-react-jsx-source"));
_pluginTransformReactJsxSource = function () {
return data;
};
return data;
}
function _pluginTransformReactJsxSelf() {
const data = _interopRequireDefault(require("@babel/plugin-transform-react-jsx-self"));
_pluginTransformReactJsxSelf = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _helperPluginUtils().declare)((api, opts) => {
api.assertVersion(7);
const pragma = opts.pragma || "React.createElement";
const pragmaFrag = opts.pragmaFrag || "React.Fragment";
const throwIfNamespace = opts.throwIfNamespace === undefined ? true : !!opts.throwIfNamespace;
const development = !!opts.development;
const useBuiltIns = !!opts.useBuiltIns;
if (typeof development !== "boolean") {
throw new Error("@babel/preset-react 'development' option must be a boolean.");
}
return {
plugins: [[_pluginTransformReactJsx().default, {
pragma,
pragmaFrag,
throwIfNamespace,
useBuiltIns
}], _pluginTransformReactDisplayName().default, development && _pluginTransformReactJsxSource().default, development && _pluginTransformReactJsxSelf().default].filter(Boolean)
};
});
exports.default = _default;

25
node_modules/@babel/preset-react/package.json generated vendored Normal file
View File

@@ -0,0 +1,25 @@
{
"name": "@babel/preset-react",
"version": "7.0.0",
"description": "Babel preset for all React plugins.",
"author": "Sebastian McKenzie <sebmck@gmail.com>",
"homepage": "https://babeljs.io/",
"license": "MIT",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-preset-react",
"main": "lib/index.js",
"dependencies": {
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/plugin-transform-react-display-name": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/plugin-transform-react-jsx-self": "^7.0.0",
"@babel/plugin-transform-react-jsx-source": "^7.0.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/helper-plugin-test-runner": "^7.0.0",
"@babel/helper-transform-fixture-test-runner": "^7.0.0"
}
}