package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "_args": [
  3. [
  4. "flat-cache@3.1.0",
  5. "/Users/mac/projects/mime/mine"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "flat-cache@3.1.0",
  10. "_id": "flat-cache@3.1.0",
  11. "_inBundle": false,
  12. "_integrity": "sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew==",
  13. "_location": "/flat-cache",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "flat-cache@3.1.0",
  19. "name": "flat-cache",
  20. "escapedName": "flat-cache",
  21. "rawSpec": "3.1.0",
  22. "saveSpec": null,
  23. "fetchSpec": "3.1.0"
  24. },
  25. "_requiredBy": [
  26. "/file-entry-cache"
  27. ],
  28. "_resolved": "https://registry.npmmirror.com/flat-cache/-/flat-cache-3.1.0.tgz",
  29. "_spec": "3.1.0",
  30. "_where": "/Users/mac/projects/mime/mine",
  31. "author": {
  32. "name": "Jared Wray",
  33. "url": "https://jaredwray.com"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/jaredwray/flat-cache/issues"
  37. },
  38. "changelogx": {
  39. "ignoreRegExp": [
  40. "BLD: Release",
  41. "DOC: Generate Changelog",
  42. "Generated Changelog"
  43. ],
  44. "issueIDRegExp": "#(\\d+)",
  45. "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}",
  46. "authorURL": "https://github.com/{0}",
  47. "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}",
  48. "projectName": "flat-cache"
  49. },
  50. "dependencies": {
  51. "flatted": "^3.2.7",
  52. "keyv": "^4.5.3",
  53. "rimraf": "^3.0.2"
  54. },
  55. "description": "A stupidly simple key/value storage using files to persist some data",
  56. "devDependencies": {
  57. "c8": "^8.0.1",
  58. "chai": "^4.3.7",
  59. "changelogx": "^5.0.6",
  60. "eslint": "^7.13.0",
  61. "eslint-config-prettier": "^6.15.0",
  62. "eslint-plugin-mocha": "^8.0.0",
  63. "eslint-plugin-prettier": "^3.1.4",
  64. "glob-expand": "^0.2.1",
  65. "mocha": "^10.2.0",
  66. "precommit": "^1.2.2",
  67. "prepush": "^3.1.11",
  68. "prettier": "^2.1.2",
  69. "watch-run": "^1.2.5"
  70. },
  71. "engines": {
  72. "node": ">=12.0.0"
  73. },
  74. "files": [
  75. "src/cache.js",
  76. "src/del.js",
  77. "src/utils.js"
  78. ],
  79. "homepage": "https://github.com/jaredwray/flat-cache#readme",
  80. "keywords": [
  81. "json cache",
  82. "simple cache",
  83. "file cache",
  84. "key par",
  85. "key value",
  86. "cache"
  87. ],
  88. "license": "MIT",
  89. "main": "src/cache.js",
  90. "name": "flat-cache",
  91. "precommit": [
  92. "npm run verify --silent"
  93. ],
  94. "prepush": [
  95. "npm run verify --silent"
  96. ],
  97. "repository": {
  98. "type": "git",
  99. "url": "git+https://github.com/jaredwray/flat-cache.git"
  100. },
  101. "scripts": {
  102. "autofix": "npm run eslint-fix",
  103. "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v",
  104. "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v",
  105. "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v",
  106. "changelog": "changelogx -f markdown -o ./changelog.md",
  107. "check": "npm run eslint",
  108. "cover": "istanbul cover test/runner.js html text-summary",
  109. "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify",
  110. "eslint": "eslint --cache --cache-location=node_modules/.cache/ ./src/**/*.js ./test/**/*.js",
  111. "eslint-fix": "npm run eslint -- --fix",
  112. "install-hooks": "prepush install && changelogx install-hook && precommit install",
  113. "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify",
  114. "pre-v": "npm run verify",
  115. "test": "npm run verify --silent",
  116. "test:cache": "c8 mocha -R spec test/specs",
  117. "test:ci:cache": "c8 --reporter=lcov mocha -R spec test/specs",
  118. "verify": "npm run eslint && npm run test:cache",
  119. "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary"
  120. },
  121. "version": "3.1.0"
  122. }