uapte
This commit is contained in:
3
node_modules/babel-plugin-syntax-decorators/.npmignore
generated
vendored
Normal file
3
node_modules/babel-plugin-syntax-decorators/.npmignore
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
node_modules
|
||||
*.log
|
||||
src
|
||||
35
node_modules/babel-plugin-syntax-decorators/README.md
generated
vendored
Normal file
35
node_modules/babel-plugin-syntax-decorators/README.md
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# babel-plugin-syntax-decorators
|
||||
|
||||
Allow parsing of decorators.
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
$ npm install babel-plugin-syntax-decorators
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### Via `.babelrc` (Recommended)
|
||||
|
||||
**.babelrc**
|
||||
|
||||
```json
|
||||
{
|
||||
"plugins": ["syntax-decorators"]
|
||||
}
|
||||
```
|
||||
|
||||
### Via CLI
|
||||
|
||||
```sh
|
||||
$ babel --plugins syntax-decorators script.js
|
||||
```
|
||||
|
||||
### Via Node API
|
||||
|
||||
```javascript
|
||||
require("babel-core").transform("code", {
|
||||
plugins: ["syntax-decorators"]
|
||||
});
|
||||
```
|
||||
13
node_modules/babel-plugin-syntax-decorators/lib/index.js
generated
vendored
Normal file
13
node_modules/babel-plugin-syntax-decorators/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
exports.default = function () {
|
||||
return {
|
||||
manipulateOptions: function manipulateOptions(opts, parserOpts) {
|
||||
parserOpts.plugins.push("decorators");
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
module.exports = exports["default"];
|
||||
41
node_modules/babel-plugin-syntax-decorators/package.json
generated
vendored
Normal file
41
node_modules/babel-plugin-syntax-decorators/package.json
generated
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"_from": "babel-plugin-syntax-decorators@^6.13.0",
|
||||
"_id": "babel-plugin-syntax-decorators@6.13.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-MSVjtNvePMgGzuPkFszurd0RrAs=",
|
||||
"_location": "/babel-plugin-syntax-decorators",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "babel-plugin-syntax-decorators@^6.13.0",
|
||||
"name": "babel-plugin-syntax-decorators",
|
||||
"escapedName": "babel-plugin-syntax-decorators",
|
||||
"rawSpec": "^6.13.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^6.13.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/babel-plugin-transform-decorators"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz",
|
||||
"_shasum": "312563b4dbde3cc806cee3e416cceeaddd11ac0b",
|
||||
"_spec": "babel-plugin-syntax-decorators@^6.13.0",
|
||||
"_where": "/Applications/XAMPP/xamppfiles/htdocs/wordpress/t-latehome/wp-content/plugins/opal-estate-pro/node_modules/babel-plugin-transform-decorators",
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {},
|
||||
"deprecated": false,
|
||||
"description": "Allow parsing of decorators",
|
||||
"devDependencies": {},
|
||||
"keywords": [
|
||||
"babel-plugin"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "babel-plugin-syntax-decorators",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-decorators"
|
||||
},
|
||||
"version": "6.13.0"
|
||||
}
|
||||
Reference in New Issue
Block a user