refactor: init cypress-cucumber-preprocessor install.
This commit is contained in:
22
node_modules/@babel/preset-react/LICENSE
generated
vendored
Normal file
22
node_modules/@babel/preset-react/LICENSE
generated
vendored
Normal 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
19
node_modules/@babel/preset-react/README.md
generated
vendored
Normal 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
82
node_modules/@babel/preset-react/lib/index.js
generated
vendored
Normal 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;
|
57
node_modules/@babel/preset-react/package.json
generated
vendored
Normal file
57
node_modules/@babel/preset-react/package.json
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"_from": "@babel/preset-react@7.0.0",
|
||||
"_id": "@babel/preset-react@7.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-oayxyPS4Zj+hF6Et11BwuBkmpgT/zMxyuZgFrMeZID6Hdh3dGlk4sHCAhdBCpuCKW2ppBfl2uCCetlrUIJRY3w==",
|
||||
"_location": "/@babel/preset-react",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@babel/preset-react@7.0.0",
|
||||
"name": "@babel/preset-react",
|
||||
"escapedName": "@babel%2fpreset-react",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "7.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@cypress/browserify-preprocessor"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.0.0.tgz",
|
||||
"_shasum": "e86b4b3d99433c7b3e9e91747e2653958bc6b3c0",
|
||||
"_spec": "@babel/preset-react@7.0.0",
|
||||
"_where": "/home/simon/Documents/lifen-autotest/node_modules/@cypress/browserify-preprocessor",
|
||||
"author": {
|
||||
"name": "Sebastian McKenzie",
|
||||
"email": "sebmck@gmail.com"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"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"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Babel preset for all React plugins.",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.0.0",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0",
|
||||
"@babel/helper-transform-fixture-test-runner": "^7.0.0"
|
||||
},
|
||||
"homepage": "https://babeljs.io/",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "@babel/preset-react",
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-preset-react"
|
||||
},
|
||||
"version": "7.0.0"
|
||||
}
|
Reference in New Issue
Block a user