UNPKG

dush-promise

Version:

Plugin for `dush` that makes it a Deferred promise and adds `.resolve`, `.reject`, `.than` and `.catch` methods for more better error handling experience

114 lines (113 loc) 2.6 kB
{ "name": "dush-promise", "version": "1.0.3", "description": "Plugin for `dush` that makes it a Deferred promise and adds `.resolve`, `.reject`, `.than` and `.catch` methods for more better error handling experience", "repository": "tunnckoCore/dush-promise", "author": "Charlike Mike Reagent <@tunnckoCore> (https://i.am.charlike.online)", "precommit.silent": true, "main": "index.js", "license": "MIT", "scripts": { "lint": "standard index.js test.js --fix --verbose", "test": "npm-run-all -s lint test:*", "test:api": "nyc --reporter lcov node test.js", "test:report": "nyc report", "prerelease": "npm test", "release": "standard-version --sign --no-verify", "git": "npm-run-all -s git:*", "git:add": "git add --all", "git:cz": "git-cz", "commit": "npm-run-all -s test git" }, "dependencies": { "extend-shallow": "^2.0.1", "native-promise-deferred": "^1.0.0" }, "devDependencies": { "commitizen": "~2.7.0", "cz-conventional-changelog": "1.1.5", "dush": "^3.0.2", "mukla": "^0.4.9", "npm-run-all": "~3.1.2", "nyc": "^10.2.0", "pinkie": "^2.0.4", "pre-commit": "^1.2.2", "standard": "^9.0.0", "standard-version": "^4.0.0" }, "files": [ "index.js" ], "keywords": [ "baseplugin", "deferred", "deferred-promise", "dush", "dushplugin", "error", "error-handling", "handling", "minibaseplugin", "plugins", "promise", "promises" ], "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "nyc": { "check-coverage": true, "statements": 100, "functions": 100, "branches": 100, "lines": 100 }, "verb": { "run": true, "toc": { "render": true, "method": "preWrite", "maxdepth": 3 }, "layout": "empty", "tasks": [ "readme" ], "related": { "list": [ "dush", "dush-router", "dush-no-chaining", "native-promise", "native-or-another", "native-promise-deferred", "dush-tap-report", "dush-methods", "minibase", "dush-options", "minibase-create-plugin" ], "highlight": "dush" }, "reflinks": [ "always-done", "async-done", "base", "charlike", "commitizen", "dezalgo", "dush", "native-promise-deferred", "once", "standard-version", "type", "verb", "verb-generate-readme" ], "lint": { "reflinks": true } } }