package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "flat-cache",
  3. "version": "4.0.1",
  4. "description": "A stupidly simple key/value storage using files to persist some data",
  5. "repository": "jaredwray/flat-cache",
  6. "license": "MIT",
  7. "author": {
  8. "name": "Jared Wray",
  9. "url": "https://jaredwray.com"
  10. },
  11. "main": "src/cache.js",
  12. "files": [
  13. "src/cache.js",
  14. "src/del.js",
  15. "src/utils.js"
  16. ],
  17. "engines": {
  18. "node": ">=16"
  19. },
  20. "precommit": [
  21. "npm run verify --silent"
  22. ],
  23. "prepush": [
  24. "npm run verify --silent"
  25. ],
  26. "scripts": {
  27. "eslint": "eslint --cache --cache-location=node_modules/.cache/ ./src/**/*.js ./test/**/*.js",
  28. "clean": "rimraf ./node_modules ./package-lock.json ./yarn.lock ./coverage",
  29. "eslint-fix": "npm run eslint -- --fix",
  30. "autofix": "npm run eslint-fix",
  31. "check": "npm run eslint",
  32. "verify": "npm run eslint && npm run test:cache",
  33. "test:cache": "c8 mocha -R spec test/specs",
  34. "test:ci:cache": "c8 --reporter=lcov mocha -R spec test/specs",
  35. "test": "npm run verify --silent",
  36. "format": "prettier --write ."
  37. },
  38. "keywords": [
  39. "json cache",
  40. "simple cache",
  41. "file cache",
  42. "key par",
  43. "key value",
  44. "cache"
  45. ],
  46. "devDependencies": {
  47. "c8": "^9.1.0",
  48. "chai": "^4.3.10",
  49. "eslint": "^8.56.0",
  50. "eslint-config-prettier": "^9.1.0",
  51. "eslint-plugin-mocha": "^10.2.0",
  52. "glob-expand": "^0.2.1",
  53. "mocha": "^10.3.0",
  54. "prettier": "^3.2.4",
  55. "rimraf": "^5.0.5",
  56. "sinon": "^17.0.1",
  57. "write": "^2.0.0"
  58. },
  59. "dependencies": {
  60. "flatted": "^3.2.9",
  61. "keyv": "^4.5.4"
  62. }
  63. }