qiwi/inside-out-promise

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "inside-out-promise",
  "version": "2.1.5",
  "description": "Produces extended Promises with attached chainable resolvers",
  "repository": "git@github.com:qiwi/inside-out-promise.git",
  "author": "Anton Golub <mailbox@antongolub.ru>",
  "license": "MIT",
  "private": false,
  "source": "src/main/ts/index.ts",
  "main": "target/bundle/inside-out-promise.js",
  "module": "target/bundle/inside-out-promise.mjs",
  "unpkg": "target/bundle/inside-out-promise.umd.js",
  "types": "typings/index.d.ts",
  "typescript": {
    "definition": "typings/index.d.ts"
  },
  "files": [
    "README.md",
    "CHANGELOG.md",
    "target",
    "typings",
    "flow-typed"
  ],
  "scripts": {
    "jest": "jest --config=jest.config.json",
    "lint": "tslint -p tsconfig.test.json src/**/*.ts",
    "lint:fix": "yarn lint --fix",
    "test": "yarn lint && yarn jest",
    "clean": "rimraf target typings",
    "build": "yarn clean && yarn build:es5 && yarn build:es6 && yarn build:ts && yarn build:libdef && yarn docs && yarn uglify && yarn build:bundle",
    "build:es5": "mkdir -p target/es5 && tsc -p tsconfig.es5.json",
    "build:es6": "mkdir -p target/es6 && tsc -p tsconfig.es6.json",
    "build:ts": "cp -r src/main/ts/ target/ts/",
    "build:bundle": "microbundle build src/main/ts/index.ts -o target/bundle",
    "build:libdef": "libdefkit --tsconfig=tsconfig.es5.json --tsconfig=tsconfig.es6.json",
    "test:report": "yarn test && yarn push:report",
    "push:report": "yarn coveralls:push",
    "coveralls:push": "cat ./coverage/lcov.info | coveralls",
    "docs": "typedoc",
    "uglify": "for f in $(find target -name '*.js'); do short=${f%.js}; terser -c -m -o $short.js -- $f; done",
    "postupdate": "yarn && npm_config_yes=true npx yarn-audit-fix --only=prod && yarn build && yarn test"
  },
  "dependencies": {
    "@qiwi/substrate": "^1.20.10",
    "tslib": "^2.5.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.21.0",
    "@babel/core": "^7.21.3",
    "@babel/plugin-external-helpers": "^7.18.6",
    "@babel/plugin-proposal-class-properties": "^7.18.6",
    "@babel/plugin-proposal-decorators": "^7.21.0",
    "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
    "@babel/plugin-transform-runtime": "^7.21.0",
    "@babel/polyfill": "^7.12.1",
    "@babel/preset-env": "^7.20.2",
    "@babel/preset-typescript": "^7.21.0",
    "@babel/register": "^7.21.0",
    "@babel/runtime": "^7.21.0",
    "@qiwi/libdefkit": "^5.0.0",
    "@types/bluebird": "^3.5.38",
    "@types/jest": "^27.0.1",
    "babel-jest": "^27.2.0",
    "bluebird": "^3.7.2",
    "coveralls": "^3.1.1",
    "esm": "^3.2.25",
    "jest": "^27.2.0",
    "lodash": "^4.17.21",
    "microbundle": "^0.15.1",
    "rimraf": "^4.4.0",
    "terser": "^5.16.6",
    "ts-jest": "^27.0.5",
    "tslint": "^6.1.3",
    "tslint-config-qiwi": "^1.11.3",
    "typedoc": "^0.23.28",
    "typescript": "4.9.5"
  },
  "keywords": [
    "promise",
    "extended promise",
    "inside-out-promise",
    "InsideOutPromise",
    "promise status",
    "interted promise",
    "observable promise",
    "esimorp",
    "completable future",
    "CompletableFuture"
  ]
}