package.json 921 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "name": "weak-lru-cache",
  3. "author": "Kris Zyp",
  4. "version": "1.2.2",
  5. "description": "An LRU cache of weak references",
  6. "license": "MIT",
  7. "types": "./index.d.ts",
  8. "keywords": [
  9. "cache",
  10. "weak",
  11. "references",
  12. "LRU",
  13. "LRFU"
  14. ],
  15. "repository": {
  16. "type": "git",
  17. "url": "http://github.com/kriszyp/weak-lru-cache"
  18. },
  19. "type": "module",
  20. "main": "dist/index.cjs",
  21. "module": "index.js",
  22. "exports": {
  23. ".": {
  24. "require": "./dist/index.cjs",
  25. "import": "./index.js"
  26. },
  27. "./index.js": {
  28. "require": "./dist/index.cjs",
  29. "import": "./index.js"
  30. }
  31. },
  32. "scripts": {
  33. "build": "rollup -c",
  34. "prepare": "rollup -c",
  35. "test": "./node_modules/.bin/mocha tests/test*.js -u tdd"
  36. },
  37. "devDependencies": {
  38. "benchmark": "^2.1.4",
  39. "chai": "^4",
  40. "mocha": "^8",
  41. "rollup": "^1.20.3"
  42. }
  43. }