UNPKG

completable-promise

Version:

CompletablePromise library allows to create a Promise instance that does not start its resolution upon its declaration.

54 lines 1.54 kB
{ "name": "completable-promise", "version": "1.3.0", "description": "CompletablePromise library allows to create a Promise instance that does not start its resolution upon its declaration.", "keywords": [ "completable-promise", "completable", "promise", "promise-library" ], "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "npx tsc", "test": "mocha -r ts-node/register test/**/*.spec.ts", "coverage": "node .github/script/generate-coverage.mjs", "doc": "node .github/script/generate-typedoc.mjs", "lint": "eslint \"src/**\" \"test/**\"", "prepublishOnly": "npm test", "prepare": "npm run build" }, "files": [ "dist/**/*" ], "repository": { "type": "git", "url": "git+https://github.com/gturi/completable-promise.git" }, "author": "Giacomo Venturini", "license": "MIT", "bugs": { "url": "https://github.com/gturi/completable-promise/issues" }, "homepage": "https://github.com/gturi/completable-promise#readme", "devDependencies": { "@types/chai": "^4.2.14", "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.39.0", "@typescript-eslint/parser": "^5.39.0", "chai": "^4.2.0", "coveralls": "^3.1.0", "eslint": "^8.24.0", "eslint-plugin-import": "^2.26.0", "mocha": "^10.2.0", "mocha-lcov-reporter": "^1.3.0", "nyc": "^15.1.0", "ts-node": "^10.2.0", "typedoc": "^0.24.6", "typescript": "^5.0.4" }, "publishConfig": { "access": "public" } }