babel-plugin-es6-promise
Version:
Babel plugin that rewrites Promise references to es6-promise, but only if necessary
94 lines (93 loc) • 2.54 kB
JSON
{
"name": "babel-plugin-es6-promise",
"version": "1.1.1",
"description": "Babel plugin that rewrites Promise references to es6-promise, but only if necessary",
"main": "dist/index.js",
"files": [
"dist",
"src"
],
"scripts": {
"clean": "rimraf coverage dist",
"prebuild": "npm run clean",
"build": "babel src --out-dir dist --source-maps",
"prepublish": "npm run build",
"lint": "as-i-preach",
"test": "ava",
"posttest": "npm run lint",
"coverage": "npm run build -- --plugins istanbul && nyc npm test",
"watch:build": "npm run build -- --watch",
"watch:test": "ava --verbose --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/novemberborn/babel-plugin-es6-promise.git"
},
"keywords": [
"babel-plugin",
"promise",
"polyfill"
],
"author": "Mark Wubben (https://novemberborn.net/)",
"license": "ISC",
"bugs": {
"url": "https://github.com/novemberborn/babel-plugin-es6-promise/issues"
},
"homepage": "https://github.com/novemberborn/babel-plugin-es6-promise#readme",
"dependencies": {
"babel-template": "^6.7.0",
"babel-types": "^6.7.2"
},
"devDependencies": {
"@novemberborn/as-i-preach": "^6.0.0",
"ava": "^0.17.0",
"babel-cli": "^6.6.5",
"babel-core": "^6.7.4",
"babel-plugin-add-module-exports": "^0.2.0",
"babel-plugin-istanbul": "^3.0.0",
"babel-plugin-transform-es2015-block-scoping": "^6.7.1",
"babel-plugin-transform-es2015-destructuring": "^6.6.5",
"babel-plugin-transform-es2015-modules-commonjs": "^6.7.4",
"babel-plugin-transform-es2015-shorthand-properties": "^6.5.0",
"babel-plugin-transform-es2015-template-literals": "^6.6.5",
"babel-plugin-transform-strict-mode": "^6.6.5",
"nyc": "^10.0.0",
"rimraf": "^2.5.2"
},
"peerDependencies": {
"es6-promise": "^4"
},
"ava": {
"source": [
"dist"
]
},
"babel": {
"plugins": [
"transform-es2015-block-scoping",
"transform-es2015-destructuring",
"transform-es2015-modules-commonjs",
"transform-es2015-shorthand-properties",
"transform-es2015-template-literals",
"transform-strict-mode",
"add-module-exports"
]
},
"greenkeeper": {
"ignore": [
"@novemberborn/as-i-preach",
"ava"
]
},
"nyc": {
"cache": true,
"instrument": false,
"reporter": [
"html",
"lcov",
"text"
],
"sourceMap": false
},
"standard-engine": "@novemberborn/as-i-preach"
}