package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "@asamuzakjp/generational-cache",
  3. "description": "A generational pseudo-LRU cache with strict maximum size limits.",
  4. "author": "asamuzaK",
  5. "license": "MIT",
  6. "homepage": "https://github.com/asamuzaK/generationalCache",
  7. "bugs": "https://github.com/asamuzaK/generationalCache/issues",
  8. "repository": {
  9. "type": "git",
  10. "url": "git+https://github.com/asamuzaK/generationalCache.git"
  11. },
  12. "files": [
  13. "src",
  14. "types"
  15. ],
  16. "type": "module",
  17. "exports": {
  18. ".": {
  19. "types": "./types/index.d.ts",
  20. "default": "./src/index.js"
  21. },
  22. "./package.json": "./package.json"
  23. },
  24. "devDependencies": {
  25. "@types/node": "^25.6.0",
  26. "c8": "^11.0.0",
  27. "commander": "^14.0.3",
  28. "eslint": "^9.39.4",
  29. "eslint-config-prettier": "^10.1.8",
  30. "eslint-plugin-jsdoc": "^62.9.0",
  31. "eslint-plugin-prettier": "^5.5.5",
  32. "eslint-plugin-regexp": "^3.1.0",
  33. "eslint-plugin-unicorn": "^64.0.0",
  34. "globals": "^17.5.0",
  35. "lru-cache": "^11.3.5",
  36. "mitata": "^1.0.34",
  37. "mnemonist": "^0.40.3",
  38. "mocha": "^11.7.5",
  39. "neostandard": "^0.13.0",
  40. "prettier": "^3.8.2",
  41. "quick-lru": "^7.3.0",
  42. "typescript": "^6.0.2"
  43. },
  44. "overrides": {
  45. "c8": {
  46. "yargs": "^18.0.0"
  47. },
  48. "eslint": {
  49. "brace-expansion": "^1.1.13"
  50. },
  51. "serialize-javascript": "^7.0.4"
  52. },
  53. "scripts": {
  54. "bench": "node --expose-gc ./benchmark/benchmark.js",
  55. "bench:worst": "node --expose-gc ./benchmark/worst-case-benchmark.js",
  56. "build": "npm run tsc && npm run lint && npm test",
  57. "lint": "eslint --fix .",
  58. "test": "c8 --reporter=text mocha --exit test/*.test.js",
  59. "tsc": "node scripts/index clean --dir=types -i && npx tsc"
  60. },
  61. "engines": {
  62. "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
  63. },
  64. "version": "1.0.1"
  65. }