summaryrefslogtreecommitdiffstats
path: root/node_modules/babel-plugin-syntax-exponentiation-operator
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babel-plugin-syntax-exponentiation-operator')
-rw-r--r--node_modules/babel-plugin-syntax-exponentiation-operator/.npmignore3
-rw-r--r--node_modules/babel-plugin-syntax-exponentiation-operator/README.md35
-rw-r--r--node_modules/babel-plugin-syntax-exponentiation-operator/lib/index.js13
-rw-r--r--node_modules/babel-plugin-syntax-exponentiation-operator/package.json41
4 files changed, 92 insertions, 0 deletions
diff --git a/node_modules/babel-plugin-syntax-exponentiation-operator/.npmignore b/node_modules/babel-plugin-syntax-exponentiation-operator/.npmignore
new file mode 100644
index 0000000..cace0d6
--- /dev/null
+++ b/node_modules/babel-plugin-syntax-exponentiation-operator/.npmignore
@@ -0,0 +1,3 @@
+node_modules
+*.log
+src
diff --git a/node_modules/babel-plugin-syntax-exponentiation-operator/README.md b/node_modules/babel-plugin-syntax-exponentiation-operator/README.md
new file mode 100644
index 0000000..42057ea
--- /dev/null
+++ b/node_modules/babel-plugin-syntax-exponentiation-operator/README.md
@@ -0,0 +1,35 @@
+# babel-plugin-syntax-exponentiation-operator
+
+Allow parsing of the exponentiation operator.
+
+## Installation
+
+```sh
+$ npm install babel-plugin-syntax-exponentiation-operator
+```
+
+## Usage
+
+### Via `.babelrc` (Recommended)
+
+**.babelrc**
+
+```json
+{
+ "plugins": ["syntax-exponentiation-operator"]
+}
+```
+
+### Via CLI
+
+```sh
+$ babel --plugins syntax-exponentiation-operator script.js
+```
+
+### Via Node API
+
+```javascript
+require("babel-core").transform("code", {
+ plugins: ["syntax-exponentiation-operator"]
+});
+```
diff --git a/node_modules/babel-plugin-syntax-exponentiation-operator/lib/index.js b/node_modules/babel-plugin-syntax-exponentiation-operator/lib/index.js
new file mode 100644
index 0000000..5195ee6
--- /dev/null
+++ b/node_modules/babel-plugin-syntax-exponentiation-operator/lib/index.js
@@ -0,0 +1,13 @@
+"use strict";
+
+exports.__esModule = true;
+
+exports.default = function () {
+ return {
+ manipulateOptions: function manipulateOptions(opts, parserOpts) {
+ parserOpts.plugins.push("exponentiationOperator");
+ }
+ };
+};
+
+module.exports = exports["default"]; \ No newline at end of file
diff --git a/node_modules/babel-plugin-syntax-exponentiation-operator/package.json b/node_modules/babel-plugin-syntax-exponentiation-operator/package.json
new file mode 100644
index 0000000..f282ab8
--- /dev/null
+++ b/node_modules/babel-plugin-syntax-exponentiation-operator/package.json
@@ -0,0 +1,41 @@
+{
+ "_from": "babel-plugin-syntax-exponentiation-operator@^6.8.0",
+ "_id": "babel-plugin-syntax-exponentiation-operator@6.13.0",
+ "_inBundle": false,
+ "_integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=",
+ "_location": "/babel-plugin-syntax-exponentiation-operator",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "babel-plugin-syntax-exponentiation-operator@^6.8.0",
+ "name": "babel-plugin-syntax-exponentiation-operator",
+ "escapedName": "babel-plugin-syntax-exponentiation-operator",
+ "rawSpec": "^6.8.0",
+ "saveSpec": null,
+ "fetchSpec": "^6.8.0"
+ },
+ "_requiredBy": [
+ "/babel-plugin-transform-exponentiation-operator"
+ ],
+ "_resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz",
+ "_shasum": "9ee7e8337290da95288201a6a57f4170317830de",
+ "_spec": "babel-plugin-syntax-exponentiation-operator@^6.8.0",
+ "_where": "/home/pruss/Dev/3-minute-website/node_modules/babel-plugin-transform-exponentiation-operator",
+ "bundleDependencies": false,
+ "dependencies": {},
+ "deprecated": false,
+ "description": "Allow parsing of the exponentiation operator",
+ "devDependencies": {},
+ "keywords": [
+ "babel-plugin"
+ ],
+ "license": "MIT",
+ "main": "lib/index.js",
+ "name": "babel-plugin-syntax-exponentiation-operator",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-exponentation-operator"
+ },
+ "version": "6.13.0"
+}