package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "mem",
  3. "version": "8.1.1",
  4. "description": "Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input",
  5. "license": "MIT",
  6. "repository": "sindresorhus/mem",
  7. "funding": "https://github.com/sindresorhus/mem?sponsor=1",
  8. "author": {
  9. "name": "Sindre Sorhus",
  10. "email": "sindresorhus@gmail.com",
  11. "url": "https://sindresorhus.com"
  12. },
  13. "engines": {
  14. "node": ">=10"
  15. },
  16. "scripts": {
  17. "test": "xo && npm run build && tsd && ava",
  18. "build": "del-cli dist && tsc",
  19. "prepack": "npm run build"
  20. },
  21. "main": "dist",
  22. "types": "dist/index.d.ts",
  23. "files": [
  24. "dist/index.js",
  25. "dist/index.d.ts"
  26. ],
  27. "keywords": [
  28. "memoize",
  29. "function",
  30. "mem",
  31. "memoization",
  32. "cache",
  33. "caching",
  34. "optimize",
  35. "performance",
  36. "ttl",
  37. "expire",
  38. "promise"
  39. ],
  40. "dependencies": {
  41. "map-age-cleaner": "^0.1.3",
  42. "mimic-fn": "^3.1.0"
  43. },
  44. "devDependencies": {
  45. "@ava/typescript": "^1.1.1",
  46. "@sindresorhus/tsconfig": "^0.7.0",
  47. "@types/serialize-javascript": "^4.0.0",
  48. "ava": "^3.15.0",
  49. "del-cli": "^3.0.1",
  50. "delay": "^4.4.0",
  51. "serialize-javascript": "^5.0.1",
  52. "tsd": "^0.13.1",
  53. "typescript": "^4.0.3",
  54. "xo": "^0.38.2"
  55. },
  56. "ava": {
  57. "files": [
  58. "test.ts"
  59. ],
  60. "timeout": "1m",
  61. "typescript": {
  62. "rewritePaths": {
  63. "./": "dist/"
  64. }
  65. }
  66. },
  67. "xo": {
  68. "rules": {
  69. "@typescript-eslint/member-ordering": "off",
  70. "@typescript-eslint/no-var-requires": "off",
  71. "@typescript-eslint/no-empty-function": "off"
  72. }
  73. }
  74. }