{
  "name": "easy-cancelable-promise",
  "_last_version_cancelable-promise-jq_version": "2.6.0",
  "version": "2.0.1",
  "description": "CancelablePromise is a Promise that can be canceled. It is a Promise that has a status property that can be '`pending`', '`resolved`', '`rejected`' or '`canceled`'. It has an onCancel method that allows you to register a callback that will be called when the promise is canceled. It has a cancel method that allows you to cancel the promise.",
  "main": "./bundle.js",
  "types": "./index.d.ts",
  "sideEffects": false,
  "exports": {
    ".": {
      "import": "./bundle.js",
      "require": "./bundle.js",
      "types": "./index.d.ts"
    },
    "./CancelableAbortController": {
      "import": "./CancelableAbortController.js",
      "require": "./CancelableAbortController.js",
      "types": "./CancelableAbortController.d.ts"
    },
    "./CancelablePromise": {
      "import": "./CancelablePromise.js",
      "require": "./CancelablePromise.js",
      "types": "./CancelablePromise.d.ts"
    },
    "./defer": {
      "import": "./defer.js",
      "require": "./defer.js",
      "types": "./defer.d.ts"
    },
    "./groupAsCancelablePromise": {
      "import": "./groupAsCancelablePromise.js",
      "require": "./groupAsCancelablePromise.js",
      "types": "./groupAsCancelablePromise.d.ts"
    },
    "./isCancelableAbortSignal": {
      "import": "./isCancelableAbortSignal.js",
      "require": "./isCancelableAbortSignal.js",
      "types": "./isCancelableAbortSignal.d.ts"
    },
    "./isCancelablePromise": {
      "import": "./isCancelablePromise.js",
      "require": "./isCancelablePromise.js",
      "types": "./isCancelablePromise.d.ts"
    },
    "./isPromise": {
      "import": "./isPromise.js",
      "require": "./isPromise.js",
      "types": "./isPromise.d.ts"
    },
    "./toCancelablePromise": {
      "import": "./toCancelablePromise.js",
      "require": "./toCancelablePromise.js",
      "types": "./toCancelablePromise.d.ts"
    },
    "./types": {
      "import": "./types.js",
      "require": "./types.js",
      "types": "./types.d.ts"
    }
  },
  "files": [
    "*.js",
    "*.d.ts"
  ],
  "author": "Johnny Quesada <johnny-qc@hotmail.com>",
  "license": "MIT",
  "scripts": {
    "test": "yarn build && jest --detectOpenHandles",
    "test:debug": "node --inspect-brk node_modules/.bin/jest --watch --runInBand",
    "test:quick": "jest --detectOpenHandles --maxWorkers=4 -c --no-watchman -u",
    "test:coverage": "jest --maxWorkers=4 -c --colors --no-watchman --verbose --coverage",
    "build": "webpack --config webpack.config.js",
    "prepare": "npm run build",
    "version": "npm run format && git add -A src",
    "postversion": "git push && git push --tags",
    "lint": "eslint src --ext .js,.jsx,.ts,.tsx --max-warnings=0",
    "lint:fix": "eslint --fix src  --ext .js,.jsx,.ts,.tsx --max-warnings=0",
    "clean": "find . -maxdepth 1 -type f \\( -name '*.js' -o -name '*.d.ts' \\) ! -name 'webpack.config.js' -exec rm {} +",
    "format": "prettier --write .  --log-level silent && yarn lint:fix"
  },
  "devDependencies": {
    "@babel/core": "^7.21.3",
    "@babel/plugin-proposal-class-properties": "^7.18.6",
    "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
    "@babel/plugin-transform-modules-commonjs": "^7.21.2",
    "@babel/preset-env": "^7.20.2",
    "@babel/preset-typescript": "^7.21.0",
    "@types/jest": "^29.2.4",
    "@typescript-eslint/eslint-plugin": "^8.53.1",
    "@typescript-eslint/parser": "^8.53.1",
    "babel-loader": "^9.1.2",
    "clean": "find . -maxdepth 1 -type f \\( -name '*.js' -o -name '*.d.ts' \\) ! -name 'webpack.config.js' -exec rm {} +",
    "eslint": "^9.39.2",
    "jest": "^29.3.1",
    "prettier": "^3.2.1",
    "ts-jest": "^29.0.3",
    "ts-loader": "^9.4.2",
    "tslib": "^2.4.1",
    "typescript": "^4.9.4",
    "webpack": "^5.76.3",
    "webpack-cli": "^5.0.1"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:johnny-quesada-developer/easy-cancelable-promise.git"
  },
  "bugs": {
    "url": "https://github.com/johnny-quesada-developer/easy-cancelable-promise/issues"
  },
  "homepage": "https://github.com/johnny-quesada-developer/easy-cancelable-promise#readme",
  "keywords": [
    "promises",
    "web",
    "worker",
    "workers",
    "threads",
    "thread",
    "async",
    "callbacks",
    "queue"
  ]
}
