package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "cacheable",
  3. "version": "1.10.4",
  4. "description": "High Performance Layer 1 / Layer 2 Caching with Keyv Storage",
  5. "type": "module",
  6. "main": "./dist/index.cjs",
  7. "module": "./dist/index.js",
  8. "types": "./dist/index.d.ts",
  9. "exports": {
  10. ".": {
  11. "require": "./dist/index.cjs",
  12. "import": "./dist/index.js"
  13. }
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git+https://github.com/jaredwray/cacheable.git",
  18. "directory": "packages/cacheable"
  19. },
  20. "author": "Jared Wray <me@jaredwray.com>",
  21. "license": "MIT",
  22. "private": false,
  23. "devDependencies": {
  24. "@biomejs/biome": "^2.2.0",
  25. "@faker-js/faker": "^9.9.0",
  26. "@keyv/redis": "^5.1.1",
  27. "@keyv/valkey": "^1.0.8",
  28. "@types/node": "^24.3.0",
  29. "@vitest/coverage-v8": "^3.2.4",
  30. "lru-cache": "^11.1.0",
  31. "rimraf": "^6.0.1",
  32. "tsup": "^8.5.0",
  33. "typescript": "^5.9.2",
  34. "vitest": "^3.2.4"
  35. },
  36. "dependencies": {
  37. "hookified": "^1.11.0",
  38. "keyv": "^5.5.0"
  39. },
  40. "keywords": [
  41. "cacheable",
  42. "high performance",
  43. "layer 1 caching",
  44. "layer 2 caching",
  45. "distributed caching",
  46. "Keyv storage engine",
  47. "memory caching",
  48. "LRU cache",
  49. "expiration",
  50. "CacheableMemory",
  51. "offline support",
  52. "distributed sync",
  53. "secondary store",
  54. "primary store",
  55. "non-blocking operations",
  56. "cache statistics",
  57. "layered caching",
  58. "fault tolerant",
  59. "scalable cache",
  60. "in-memory cache",
  61. "distributed cache",
  62. "lruSize",
  63. "lru",
  64. "multi-tier cache"
  65. ],
  66. "files": [
  67. "dist",
  68. "LICENSE"
  69. ],
  70. "scripts": {
  71. "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
  72. "prepublish": "pnpm build",
  73. "test": "biome check --write && vitest run --coverage",
  74. "test:ci": "biome check && vitest run --coverage",
  75. "clean": "rimraf ./dist ./coverage ./node_modules"
  76. }
  77. }