aboutsummaryrefslogtreecommitdiff
path: root/babel-plugin-async-to-promises/package.json
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-18 21:29:52 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-18 21:29:52 +0800
commit420779f515ca2df3cde7b8f6f383f9ead8e127a6 (patch)
treea19be2bdb5474a30d3087396b5775548deca97e0 /babel-plugin-async-to-promises/package.json
parent7cece8c872a744fc23be029510bd0a9dfd168c25 (diff)
downloadSoopyV2-420779f515ca2df3cde7b8f6f383f9ead8e127a6.tar.gz
SoopyV2-420779f515ca2df3cde7b8f6f383f9ead8e127a6.tar.bz2
SoopyV2-420779f515ca2df3cde7b8f6f383f9ead8e127a6.zip
+ swap promises to use arrow function for correct 'this' context
Diffstat (limited to 'babel-plugin-async-to-promises/package.json')
-rw-r--r--babel-plugin-async-to-promises/package.json49
1 files changed, 49 insertions, 0 deletions
diff --git a/babel-plugin-async-to-promises/package.json b/babel-plugin-async-to-promises/package.json
new file mode 100644
index 0000000..d13f0b1
--- /dev/null
+++ b/babel-plugin-async-to-promises/package.json
@@ -0,0 +1,49 @@
+{
+ "name": "babel-plugin-async-to-promises",
+ "version": "1.0.5",
+ "description": "Transpile ES7 async/await to vanilla ES6 Promise chains",
+ "repository": "marten-de-vries/kneden",
+ "author": "Marten de Vries",
+ "main": "lib/index.js",
+ "devDependencies": {
+ "babel-cli": "^6.4.5",
+ "babel-core": "^6.3.17",
+ "babel-eslint": "^6.0.0-beta.6",
+ "babel-istanbul": "^0.8.0",
+ "babel-preset-es2015": "^6.3.13",
+ "babel-register": "^6.4.3",
+ "eslint": "^2.0.0",
+ "mocha": "^2.2.5"
+ },
+ "scripts": {
+ "clean": "rm -rf lib",
+ "build": "babel src -d lib",
+ "test": "npm run test:lint && npm run test:cov",
+ "test:cov": "babel-node node_modules/.bin/babel-istanbul cover _mocha && babel-istanbul check-coverage --statements 100 --functions 100 --branches 100 --lines 100",
+ "test:js": "mocha --compilers js:babel-register",
+ "test:lint": "eslint src/*.js test/index.js && eslint test/fixtures/*/*.js",
+ "test:watch": "npm run test:js -- --watch",
+ "prepublish": "npm run clean && npm run build"
+ },
+ "keywords": [
+ "es",
+ "7",
+ "6",
+ "babel",
+ "promise",
+ "async",
+ "await",
+ "promises",
+ "function",
+ "functions",
+ "plugin",
+ "babel-plugin"
+ ],
+ "dependencies": {
+ "babel-helper-hoist-variables": "^6.5.0",
+ "babel-template": "^6.3.13",
+ "babel-types": "^6.5.2",
+ "js-extend": "^1.0.1"
+ },
+ "license": "ISC"
+}