resolvable-promise
Version:
Promises with the resolve and reject functions exposed
91 lines (90 loc) • 2.38 kB
JSON
{
"name": "resolvable-promise",
"version": "3.1.0",
"description": "Promises with the resolve and reject functions exposed",
"author": "WhiteAutumn",
"license": "MIT",
"keywords": [
"promise",
"resolvable",
"rejectable",
"hybrid",
"esm",
"cjs",
"commonjs"
],
"volta": {
"node": "22.14.0"
},
"homepage": "https://github.com/WhiteAutumn/resolvable-promise",
"bugs": {
"url": "https://github.com/WhiteAutumn/resolvable-promise/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/WhiteAutumn/resolvable-promise.git"
},
"engines": {
"node": ">=12.20.0"
},
"files": [
"dist",
"src",
"LICENSE"
],
"main": "./dist/cjs/lib.cjs.js",
"module": "./dist/esm/lib.esm.js",
"exports": {
".": {
"import": {
"types": "./dist/esm/lib.esm.d.ts",
"default": "./dist/esm/lib.esm.js"
},
"require": {
"types": "./dist/cjs/lib.cjs.d.ts",
"default": "./dist/cjs/lib.cjs.js"
}
},
"./types": {
"require": {
"types": "./dist/cjs/types.cjs.d.ts",
"default": "./dist/cjs/types.cjs.js"
}
}
},
"scripts": {
"lint": "eslint . --color",
"lint:fix": "eslint . --fix --color",
"lint:strict": "cross-env STRICT=true eslint . --color --max-warnings=0",
"lint:strict:report": "npm run lint:strict -- --output-file eslint-report.json --format json",
"typecheck": "tsc --noEmit",
"test": "mocha --colors .",
"test:watch": "mocha --watch --reporter min --colors .",
"build": "run-p build:*",
"build:commonjs": "tsc --project tsconfig.cjs.json",
"build:esm": "tsc --project tsconfig.esm.json",
"postbuild": "node ./scripts/postbuild.mjs",
"prepack": "npm run build"
},
"simple-git-hooks": {
"pre-commit": "npx run-s lint:strict test"
},
"dependencies": {},
"devDependencies": {
"@autumn.dev/eslint-config": "0.0.8",
"@types/chai": "^4.0.0",
"@types/chai-as-promised": "^8.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "^22.0.0",
"chai": "^4.0.0",
"chai-as-promised": "^8.0.0",
"cross-env": "^7.0.0",
"esbuild-runner": "^2.0.0",
"eslint": "^8.0.0",
"mocha": "^10.0.0",
"npm-run-all": "^4.0.0",
"simple-git-hooks": "^2.0.0",
"typescript": "~5.7.0",
"undici-types": "~7.1.0"
}
}