UNPKG

tiny-future

Version:

A tiny way to make `Promise` more convenient to use without any dependencies.

57 lines (56 loc) 1.63 kB
{ "name": "tiny-future", "description": "A tiny way to make `Promise` more convenient to use without any dependencies.", "author": "jiang115jie@gmail.com", "license": "GPL-3.0", "version": "1.1.0", "type": "module", "source": "src/future.ts", "main": "dist/main.cjs", "module": "dist/main.mjs", "types": "dist/types.d.ts", "files": [ "LICENSE", "README.md", "package.json", "docs", "src", "dist" ], "sideEffects": false, "scripts": { "check": "pnpm exec tsc --noEmit", "lint": "pnpm exec eslint .", "prebuild": "pnpm dlx rimraf dist && pnpm run check && pnpm run lint", "build": "pnpm exec rollup --config rollup.config.mjs", "pretest": "pnpm dlx rimraf coverage", "test": "deno test --coverage && deno coverage coverage && deno coverage coverage --lcov --output=coverage/cov_profile.lcov", "pretest:html": "pnpm run pretest", "test:html": "deno test --coverage && deno coverage coverage && deno coverage coverage --html", "predocs": "pnpm dlx rimraf docs", "docs": "pnpm exec typedoc", "prepublishOnly": "pnpm run build" }, "repository": { "type": "git", "url": "git+https://github.com/JiangJie/tiny-future.git" }, "keywords": [ "Promise", "Future", "defer", "deferred", "tiny" ], "devDependencies": { "@eslint/js": "^9.32.0", "eslint": "^9.32.0", "rollup": "^4.46.2", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-esbuild": "^6.2.1", "typedoc": "^0.28.8", "typedoc-plugin-markdown": "^4.8.0", "typescript": "^5.8.3", "typescript-eslint": "^8.38.0" } }