UNPKG

xflight

Version:

Handle inflight promise to avoid async duplication

70 lines (69 loc) 1.46 kB
{ "name": "xflight", "version": "2.0.2", "description": "Handle inflight promise to avoid async duplication", "type": "module", "exports": { ".": { "import": "./dist-esm/esm/index.js", "require": "./dist-cjs/cjs/index.cjs" } }, "scripts": { "test": "vitest run", "test:ui": "vitest --ui", "coverage": "vitest run --coverage", "build": "rm -rf dist-* && tsc --build tsconfig.esm.json && tsc --build tsconfig.cjs.json && ts2mjs --cjs --remove-source --skip-ts dist-cjs" }, "repository": { "type": "git", "url": "https://github.com/jchip/xflight.git" }, "files": [ "lib", "dist-esm", "dist-cjs" ], "keywords": [ "inflight", "promise" ], "author": "Joel Chen", "license": "Apache-2.0", "devDependencies": { "@types/node": "^22.15.29", "@vitest/coverage-v8": "^3.2.0", "@xarc/run": "^1.1.2", "tsx": "^4.19.4", "typescript": "^5.8.3", "vitest": "^3.2.0", "ts2mjs": "github:jchip/ts2mjs#main" }, "dependencies": { "optional-require": "^2.0.1" }, "nyc": { "all": true, "reporter": [ "lcov", "text", "text-summary" ], "exclude": [ "coverage", "*clap.js", "gulpfile.js", "dist", "test" ], "check-coverage": true, "statements": 100, "branches": 100, "functions": 100, "lines": 100, "cache": true }, "engines": { "node": ">=20" } }