65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"name": "@asamuzakjp/generational-cache",
|
|
"description": "A generational pseudo-LRU cache with strict maximum size limits.",
|
|
"author": "asamuzaK",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/asamuzaK/generationalCache",
|
|
"bugs": "https://github.com/asamuzaK/generationalCache/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/asamuzaK/generationalCache.git"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"types"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/index.d.ts",
|
|
"default": "./src/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.6.0",
|
|
"c8": "^11.0.0",
|
|
"commander": "^14.0.3",
|
|
"eslint": "^9.39.4",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-jsdoc": "^62.9.0",
|
|
"eslint-plugin-prettier": "^5.5.5",
|
|
"eslint-plugin-regexp": "^3.1.0",
|
|
"eslint-plugin-unicorn": "^64.0.0",
|
|
"globals": "^17.5.0",
|
|
"lru-cache": "^11.3.5",
|
|
"mitata": "^1.0.34",
|
|
"mnemonist": "^0.40.3",
|
|
"mocha": "^11.7.5",
|
|
"neostandard": "^0.13.0",
|
|
"prettier": "^3.8.2",
|
|
"quick-lru": "^7.3.0",
|
|
"typescript": "^6.0.2"
|
|
},
|
|
"overrides": {
|
|
"c8": {
|
|
"yargs": "^18.0.0"
|
|
},
|
|
"eslint": {
|
|
"brace-expansion": "^1.1.13"
|
|
},
|
|
"serialize-javascript": "^7.0.4"
|
|
},
|
|
"scripts": {
|
|
"bench": "node --expose-gc ./benchmark/benchmark.js",
|
|
"bench:worst": "node --expose-gc ./benchmark/worst-case-benchmark.js",
|
|
"build": "npm run tsc && npm run lint && npm test",
|
|
"lint": "eslint --fix .",
|
|
"test": "c8 --reporter=text mocha --exit test/*.test.js",
|
|
"tsc": "node scripts/index clean --dir=types -i && npx tsc"
|
|
},
|
|
"engines": {
|
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0"
|
|
},
|
|
"version": "1.0.1"
|
|
}
|