wrap-promise
Version:
Like new Promise(), but prevents implicit rejection
44 lines (43 loc) • 1.07 kB
JSON
{
"name": "wrap-promise",
"version": "1.0.1",
"description": "Like new Promise(), but prevents implicit rejection",
"repository": "shinnn/wrap-promise",
"author": "Shinnosuke Watanabe (https://github.com/shinnn)",
"scripts": {
"pretest": "eslint --config node_modules/@shinnn/eslintrc/rc.json --ignore-path .gitignore .",
"test": "node test.js | tap-spec",
"coverage": "istanbul cover test.js",
"coveralls": "${npm_package_scripts_coverage} && istanbul-coveralls"
},
"license": "MIT",
"main": "wrap-promise-cjs.js",
"files": [
"no-fallback.js",
"wrap-promise-cjs.js"
],
"keywords": [
"promise",
"constructor",
"then",
"thenable",
"throw",
"error",
"wrapper",
"explicit",
"browser",
"client-side"
],
"dependencies": {
"es6-promise": "^2.3.0"
},
"devDependencies": {
"@shinnn/eslintrc": "^1.0.0",
"eslint": "^0.22.1",
"istanbul": "^0.3.15",
"istanbul-coveralls": "^1.0.3",
"require-uncached": "^1.0.2",
"tap-spec": "^4.0.0",
"tape": "^4.0.0"
}
}