promise-nodeify
Version:
Call a Node-style callback with the resolution value or rejection cause of a Promise without the common pitfalls.
79 lines (78 loc) • 3.78 kB
JSON
{
"name": "promise-nodeify",
"version": "3.0.1",
"description": "Call a Node-style callback with the resolution value or rejection cause of a Promise without the common pitfalls.",
"keywords": [
"callback",
"nodeify",
"promise"
],
"license": "MIT",
"homepage": "https://github.com/kevinoid/promise-nodeify",
"bugs": "https://github.com/kevinoid/promise-nodeify/issues",
"author": "Kevin Locke <kevin@kevinlocke.name>",
"repository": {
"type": "git",
"url": "https://github.com/kevinoid/promise-nodeify.git"
},
"main": "index.js",
"//": "All scripts should run in POSIX sh and Windows cmd.exe",
"scripts": {
"benchmark": "cd benchmark && npm install && node index.js",
"build": "rimraf dist && gulp",
"clean": "rimraf coverage && rimraf doc",
"doc": "npm run doc-js && npm run doc-spec",
"doc-js": "rimraf doc/api && jsdoc -c jsdoc.conf.json .",
"doc-spec": "rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml",
"lint": "npm run lint-js && npm run lint-doc",
"lint-doc": "jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.",
"lint-js": "eslint . && echo ESLint passed.",
"postpublish": "git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md && echo until skywinder/github-changelog-generator#56 is fixed.",
"postversion": "rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"",
"preversion": "check-audit && depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david && git-branch-is master && travis-status -b master -c -wx && appveyor-status -b master -c -p kevinoid/promise-nodeify -w && istanbul check-coverage --statements 95 coverage/coverage.json",
"test": "npm run lint && npm run test-unit",
"test-ci": "npm run test && npm run build",
"test-ci-cov": "npm run test-cov && npm run build",
"test-cov": "npm run lint && npm run test-unit-cov",
"test-unit": "mocha --recursive test",
"test-unit-cov": "istanbul cover -x test-lib/** _mocha -- --recursive test",
"upload-cov": "codecov < ./coverage/lcov.info && coveralls < ./coverage/lcov.info",
"version": "npm run build && git add dist && git commit --allow-empty -n -m \"Distributable files for v$npm_package_version\" && github_changelog_generator -t \"$npm_config_gcg_github_token\" --future-release \"$npm_package_version\" && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md",
"version-deps": "npm install david depcheck git-branch-is npm-audit-resolver travis-status"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-transform-arrow-functions": "^7.0.0",
"@babel/plugin-transform-block-scoping": "^7.0.0",
"bluebird": ">=1.0.0",
"codecov": "^3.0.0",
"coveralls": "^3.0.0",
"eslint": "^5.0.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"greenkeeper-lockfile": "^1.15.1",
"gulp": "^3.9.1",
"gulp-babel": "^8.0.0",
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^2.6.4",
"gulp-uglify": "^3.0.0",
"gulp-umd": "^2.0.0",
"istanbul": "^0.4.1",
"jsdoc": "^3.4.1",
"mocha": "^5.0.0",
"nodecat": "^2.0.0",
"promise-finally": "^3.0.0",
"pump": "^3.0.0",
"rimraf": "^2.2.0"
},
"engines": {
"node": ">=6",
"npm": ">=1.3.7"
},
"greenkeeper": {
"ignore": [
"eslint"
]
}
}