package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "file-entry-cache",
  3. "version": "8.0.0",
  4. "description": "Super simple cache for file metadata, useful for process that work o a given series of files and that only need to repeat the job on the changed ones since the previous run of the process",
  5. "repository": "jaredwray/file-entry-cache",
  6. "license": "MIT",
  7. "author": {
  8. "name": "Jared Wray",
  9. "url": "https://jaredwray.com"
  10. },
  11. "main": "cache.js",
  12. "files": [
  13. "cache.js"
  14. ],
  15. "engines": {
  16. "node": ">=16.0.0"
  17. },
  18. "scripts": {
  19. "eslint": "eslint --cache --cache-location=node_modules/.cache/ 'cache.js' 'test/**/*.js' 'perf.js'",
  20. "autofix": "npm run eslint -- --fix",
  21. "clean": "rimraf ./node_modules ./package-lock.json ./yarn.lock",
  22. "test": "npm run eslint --silent && c8 mocha -R spec test/specs",
  23. "test:ci": "npm run eslint --silent && c8 --reporter=lcov mocha -R spec test/specs",
  24. "perf": "node perf.js"
  25. },
  26. "prepush": [
  27. "npm run eslint --silent"
  28. ],
  29. "precommit": [
  30. "npm run eslint --silent"
  31. ],
  32. "keywords": [
  33. "file cache",
  34. "task cache files",
  35. "file cache",
  36. "key par",
  37. "key value",
  38. "cache"
  39. ],
  40. "devDependencies": {
  41. "c8": "^8.0.1",
  42. "chai": "^4.3.10",
  43. "eslint": "^8.56.0",
  44. "eslint-config-prettier": "^9.1.0",
  45. "eslint-plugin-mocha": "^10.2.0",
  46. "eslint-plugin-prettier": "^5.0.1",
  47. "glob-expand": "^0.2.1",
  48. "mocha": "^10.2.0",
  49. "prettier": "^3.1.1",
  50. "rimraf": "^5.0.5",
  51. "write": "^2.0.0"
  52. },
  53. "dependencies": {
  54. "flat-cache": "^4.0.0"
  55. }
  56. }