UNPKG

@epic-web/cachified

Version:
56 lines (55 loc) 1.59 kB
{ "name": "@epic-web/cachified", "version": "5.6.2", "description": "neat wrapper for various caches", "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/src/index.d.ts", "publishConfig": { "access": "public" }, "exports": { ".": { "types": "./dist/src/index.d.ts", "require": "./dist/index.cjs", "import": "./dist/index.mjs" } }, "scripts": { "prepare": "rm -rf dist && npm run build", "build": "npm run build:declarations && npm run build:esm && npm run build:cjs", "build:declarations": "tsc && rm dist/src/*.spec.d.ts; rm dist/src/testHelpers.d.ts", "build:esm": "esbuild src/index.ts --outfile=dist/index.mjs --format=esm --bundle --target=es2020 --sourcemap", "build:cjs": "esbuild src/index.ts --outfile=dist/index.cjs --format=cjs --bundle --target=es2020 --sourcemap", "test": "jest" }, "repository": { "type": "git", "url": "https://github.com/epicweb-dev/cachified.git" }, "keywords": [ "cache", "wrapper", "ttl", "stale while revalidate", "typescript", "lru-cache", "redis", "typed" ], "author": "Hannes Diercks <node@xiphe.net> (https://xiphe.net/)", "license": "MIT", "bugs": { "url": "https://github.com/epicweb-dev/cachified/issues" }, "homepage": "https://github.com/epicweb-dev/cachified#readme", "devDependencies": { "@types/jest": "30.0.0", "@types/node": "25.3.3", "esbuild": "0.27.3", "jest": "30.2.0", "ts-jest": "29.4.6", "typescript": "5.9.3", "zod-legacy": "npm:zod@3.23.5" } }