npm and error messages

This commit is contained in:
2018-10-27 03:51:47 -05:00
parent 692ab70565
commit 025a403027
29601 changed files with 2759363 additions and 14 deletions

View File

@@ -0,0 +1,3 @@
node_modules
*.log
src

View File

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

View File

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

View File

@@ -0,0 +1,41 @@
{
"_from": "babel-plugin-syntax-async-functions@^6.8.0",
"_id": "babel-plugin-syntax-async-functions@6.13.0",
"_inBundle": false,
"_integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=",
"_location": "/babel-plugin-syntax-async-functions",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "babel-plugin-syntax-async-functions@^6.8.0",
"name": "babel-plugin-syntax-async-functions",
"escapedName": "babel-plugin-syntax-async-functions",
"rawSpec": "^6.8.0",
"saveSpec": null,
"fetchSpec": "^6.8.0"
},
"_requiredBy": [
"/babel-plugin-transform-async-to-generator"
],
"_resolved": "http://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
"_shasum": "cad9cad1191b5ad634bf30ae0872391e0647be95",
"_spec": "babel-plugin-syntax-async-functions@^6.8.0",
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\babel-plugin-transform-async-to-generator",
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "Allow parsing of async functions",
"devDependencies": {},
"keywords": [
"babel-plugin"
],
"license": "MIT",
"main": "lib/index.js",
"name": "babel-plugin-syntax-async-functions",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-functions"
},
"version": "6.13.0"
}