package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "file-entry-cache",
  3. "version": "5.0.1",
  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": "royriojas/file-entry-cache",
  6. "license": "MIT",
  7. "author": {
  8. "name": "Roy Riojas",
  9. "url": "http://royriojas.com"
  10. },
  11. "main": "cache.js",
  12. "files": [
  13. "cache.js"
  14. ],
  15. "engines": {
  16. "node": ">=4"
  17. },
  18. "scripts": {
  19. "beautify": "esbeautifier 'cache.js' 'test/**/*.js' 'perf.js'",
  20. "beautify-check": "npm run beautify -- -k",
  21. "eslint": "eslinter 'cache.js' 'specs/**/*.js' 'perf.js'",
  22. "lint": "npm run beautify && npm run eslint",
  23. "verify": "npm run beautify-check && npm run eslint",
  24. "install-hooks": "prepush install && changelogx install-hook && precommit install",
  25. "changelog": "changelogx -f markdown -o ./changelog.md",
  26. "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify",
  27. "pre-v": "npm run test",
  28. "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify",
  29. "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v",
  30. "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v",
  31. "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v",
  32. "test": "npm run verify --silent && mocha -R spec test/specs",
  33. "perf": "node perf.js",
  34. "cover": "istanbul cover test/runner.js html text-summary",
  35. "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary"
  36. },
  37. "prepush": [
  38. "npm run verify"
  39. ],
  40. "precommit": [
  41. "npm run verify"
  42. ],
  43. "keywords": [
  44. "file cache",
  45. "task cache files",
  46. "file cache",
  47. "key par",
  48. "key value",
  49. "cache"
  50. ],
  51. "changelogx": {
  52. "ignoreRegExp": [
  53. "BLD: Release",
  54. "DOC: Generate Changelog",
  55. "Generated Changelog"
  56. ],
  57. "issueIDRegExp": "#(\\d+)",
  58. "commitURL": "https://github.com/royriojas/file-entry-cache/commit/{0}",
  59. "authorURL": "https://github.com/{0}",
  60. "issueIDURL": "https://github.com/royriojas/file-entry-cache/issues/{0}",
  61. "projectName": "file-entry-cache"
  62. },
  63. "devDependencies": {
  64. "chai": "^3.2.0",
  65. "changelogx": "3.0.0",
  66. "commander": "^2.6.0",
  67. "del": "^2.0.2",
  68. "esbeautifier": "^4.2.11",
  69. "eslinter": "^2.3.3",
  70. "glob-expand": "^0.1.0",
  71. "istanbul": "^0.3.6",
  72. "mocha": "^2.1.0",
  73. "precommit": "^1.1.5",
  74. "prepush": "^3.1.4",
  75. "proxyquire": "^1.3.1",
  76. "sinon": "^1.12.2",
  77. "sinon-chai": "^2.7.0",
  78. "watch-run": "^1.2.1",
  79. "write": "^0.3.1"
  80. },
  81. "dependencies": {
  82. "flat-cache": "^2.0.1"
  83. }
  84. }