UNPKG

@avanio/expire-cache

Version:

Typescript/Javascript cache with expiration

98 lines 2.56 kB
{ "name": "@avanio/expire-cache", "version": "0.6.8", "description": "Typescript/Javascript cache with expiration", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "files": [ "dist" ], "mocha": { "exit": true, "recursive": true, "enable-source-maps": true, "extension": [ "test.mts", "cjs", "mjs" ], "require": [ "ts-node/register" ], "loader": "ts-node/esm", "reporters": [ "spec", "mocha-junit-reporter" ] }, "nyc": { "check-coverage": true, "extension": [ ".ts", ".js" ] }, "repository": { "type": "git", "url": "git+https://github.com/AvanioOy/expire-cache.git" }, "keywords": [ "cache", "expire", "typescript" ], "author": "mharj", "license": "MIT", "bugs": { "url": "https://github.com/AvanioOy/expire-cache/issues" }, "homepage": "https://github.com/AvanioOy/expire-cache#readme", "devDependencies": { "@avanio/logger-like": "^0.2.12", "@cspell/eslint-plugin": "^8.18.1", "@eslint/js": "^9.24.0", "@luolapeikko/cache-types": "^0.0.9", "@stylistic/eslint-plugin": "^4.2.0", "@stylistic/eslint-plugin-ts": "^4.2.0", "@types/node": "^22.14.0", "@types/sinon": "^17.0.4", "@typescript-eslint/eslint-plugin": "^8.29.0", "@typescript-eslint/parser": "^8.29.0", "@vitest/coverage-v8": "^3.1.1", "c8": "^10.1.3", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.1", "eslint-import-resolver-typescript": "^4.3.2", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsdoc": "^50.6.9", "eslint-plugin-prettier": "^5.2.6", "eslint-plugin-sonarjs": "^3.0.2", "prettier": "^3.5.3", "sinon": "^20.0.0", "ts-node": "^10.9.2", "tsup": "^8.4.0", "typescript": "^5.8.3", "typescript-eslint": "^8.29.0", "vite": "^6.2.5", "vitest": "^3.1.1" }, "peerDependencies": { "@avanio/logger-like": ">= 0.2.10", "@luolapeikko/cache-types": ">= 0.0.8" }, "scripts": { "build": "tsup src/index.mts --sourcemap --format cjs,esm --dts --clean", "test": "vitest test --run --no-isolate --coverage", "coverage": "vitest test --run --no-isolate --reporter=dot --coverage --coverage.reporter=lcov", "lint": "eslint . --ext .mts", "validate": "tsc --noEmit --project tsconfig.test.json" } }