{ "name": "make-cancellable-promise", "version": "1.3.2", "description": "Make any Promise cancellable.", "type": "module", "sideEffects": false, "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "source": "./src/index.ts", "types": "./dist/cjs/index.d.ts", "exports": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "scripts": { "build": "yarn build-esm && yarn build-cjs && yarn build-cjs-package", "build-esm": "tsc --project tsconfig.build.json --outDir dist/esm", "build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs --verbatimModuleSyntax false", "build-cjs-package": "echo '{\n \"type\": \"commonjs\"\n}' > dist/cjs/package.json", "clean": "rimraf dist", "lint": "eslint .", "prepack": "yarn clean && yarn build", "prettier": "prettier --check . --cache", "test": "yarn lint && yarn tsc && yarn prettier && yarn unit", "tsc": "tsc --noEmit", "unit": "vitest" }, "keywords": [ "promise", "promise-cancelling" ], "author": { "name": "Wojciech Maj", "email": "kontakt@wojtekmaj.pl" }, "license": "MIT", "devDependencies": { "eslint": "^8.26.0", "eslint-config-wojtekmaj": "^0.9.0", "husky": "^8.0.0", "lint-staged": "^14.0.0", "prettier": "^3.0.0", "rimraf": "^3.0.0", "typescript": "^5.0.0", "vitest": "^0.34.0" }, "publishConfig": { "access": "public", "provenance": true }, "files": [ "dist", "src" ], "repository": { "type": "git", "url": "https://github.com/wojtekmaj/make-cancellable-promise.git" }, "funding": "https://github.com/wojtekmaj/make-cancellable-promise?sponsor=1", "packageManager": "yarn@3.1.0" }