package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "name": "memoizee",
  3. "version": "0.4.17",
  4. "description": "Memoize/cache function results",
  5. "author": "Mariusz Nowak <medikoo@medikoo.com> (http://www.medikoo.com/)",
  6. "keywords": [
  7. "memoize",
  8. "memoizer",
  9. "cache",
  10. "memoization",
  11. "memo",
  12. "memcached",
  13. "hashing.",
  14. "storage",
  15. "caching",
  16. "memory",
  17. "gc",
  18. "weak",
  19. "garbage",
  20. "collector",
  21. "async"
  22. ],
  23. "repository": "medikoo/memoizee",
  24. "dependencies": {
  25. "d": "^1.0.2",
  26. "es5-ext": "^0.10.64",
  27. "es6-weak-map": "^2.0.3",
  28. "event-emitter": "^0.3.5",
  29. "is-promise": "^2.2.2",
  30. "lru-queue": "^0.1.0",
  31. "next-tick": "^1.1.0",
  32. "timers-ext": "^0.1.7"
  33. },
  34. "devDependencies": {
  35. "bluebird": "^3.7.2",
  36. "eslint": "^8.57.0",
  37. "eslint-config-medikoo": "^4.2.0",
  38. "git-list-updated": "^1.2.1",
  39. "github-release-from-cc-changelog": "^2.3.0",
  40. "husky": "^4.3.8",
  41. "lint-staged": "^15.2.4",
  42. "nyc": "^15.1.0",
  43. "plain-promise": "^0.1.1",
  44. "prettier-elastic": "^3.2.5",
  45. "tad": "^3.1.1"
  46. },
  47. "husky": {
  48. "hooks": {
  49. "pre-commit": "lint-staged"
  50. }
  51. },
  52. "lint-staged": {
  53. "*.js": [
  54. "eslint"
  55. ],
  56. "*.{css,html,js,json,md,yaml,yml}": [
  57. "prettier -c"
  58. ]
  59. },
  60. "eslintConfig": {
  61. "extends": "medikoo/es5",
  62. "root": true,
  63. "globals": {
  64. "setTimeout": true,
  65. "clearTimeout": true
  66. },
  67. "rules": {
  68. "max-lines-per-function": "off"
  69. }
  70. },
  71. "nyc": {
  72. "all": true,
  73. "exclude": [
  74. ".github",
  75. "coverage/**",
  76. "test/**",
  77. "*.config.js"
  78. ],
  79. "reporter": [
  80. "lcov",
  81. "html",
  82. "text-summary"
  83. ]
  84. },
  85. "prettier": {
  86. "printWidth": 100,
  87. "tabWidth": 4,
  88. "overrides": [
  89. {
  90. "files": [
  91. "*.md",
  92. "*.yml"
  93. ],
  94. "options": {
  95. "tabWidth": 2
  96. }
  97. }
  98. ]
  99. },
  100. "scripts": {
  101. "coverage": "nyc npm test",
  102. "lint": "eslint --ignore-path=.gitignore .",
  103. "lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
  104. "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  105. "prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  106. "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  107. "prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
  108. "test": "tad"
  109. },
  110. "engines": {
  111. "node": ">=0.12"
  112. },
  113. "license": "ISC"
  114. }