UNPKG

@creately/future

Version:

Extended version of the Promise class which has `resolve` and `reject` methods to resolve or reject the underlying promise.

38 lines (37 loc) 1.13 kB
{ "name": "@creately/future", "version": "2.0.0", "description": "", "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { "clean": "rimraf coverage dist", "build": "tsc", "lint": "prettier --print-width 120 --single-quote --trailing-comma es5 --write \"src/**/*.ts\"", "test": "karma start karma.conf.js --single-run", "test:watch": "karma start karma.conf.js", "test:cover": "npm run test && open coverage/index.html", "prepublish": "npm run clean && npm run lint && npm run build" }, "keywords": [ "Promise", "Future" ], "author": "Muhammed Thanish <mnmtanish@gmail.com> (http://thanish.me/)", "license": "MIT", "devDependencies": { "@types/jasmine": "^2.8.8", "istanbul-instrumenter-loader": "^3.0.1", "jasmine-core": "^3.2.1", "karma": "^3.0.0", "karma-chrome-launcher": "^2.2.0", "karma-coverage-istanbul-reporter": "^2.0.1", "karma-jasmine": "^1.1.2", "karma-webpack": "^3.0.0", "prettier": "^1.14.2", "rimraf": "^2.6.2", "ts-loader": "^4.5.0", "typescript": "^3.0.1", "webpack": "^4.16.5" } }