package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "flat-cache",
  3. "version": "2.0.1",
  4. "description": "A stupidly simple key/value storage using files to persist some data",
  5. "repository": "royriojas/flat-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. "utils.js",
  15. "del.js"
  16. ],
  17. "engines": {
  18. "node": ">=4"
  19. },
  20. "precommit": [
  21. "npm run verify --silent"
  22. ],
  23. "prepush": [
  24. "npm run verify --silent"
  25. ],
  26. "scripts": {
  27. "beautify": "esbeautifier 'cache.js' 'utils.js' 'del.js' 'test/specs/**/*.js'",
  28. "beautify-check": "npm run beautify -- -k",
  29. "eslint": "eslinter 'cache.js' 'utils.js' 'del.js' 'specs/**/*.js'",
  30. "eslint-fix": "npm run eslint -- --fix",
  31. "autofix": "npm run beautify && npm run eslint-fix",
  32. "check": "npm run beautify-check && npm run eslint",
  33. "verify": "npm run check && npm run test:cache",
  34. "install-hooks": "prepush install && changelogx install-hook && precommit install",
  35. "changelog": "changelogx -f markdown -o ./changelog.md",
  36. "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify",
  37. "pre-v": "npm run verify",
  38. "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify",
  39. "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v",
  40. "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v",
  41. "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v",
  42. "test:cache": "mocha -R spec test/specs",
  43. "test": "npm run verify --silent",
  44. "cover": "istanbul cover test/runner.js html text-summary",
  45. "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary"
  46. },
  47. "keywords": [
  48. "json cache",
  49. "simple cache",
  50. "file cache",
  51. "key par",
  52. "key value",
  53. "cache"
  54. ],
  55. "changelogx": {
  56. "ignoreRegExp": [
  57. "BLD: Release",
  58. "DOC: Generate Changelog",
  59. "Generated Changelog"
  60. ],
  61. "issueIDRegExp": "#(\\d+)",
  62. "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}",
  63. "authorURL": "https://github.com/{0}",
  64. "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}",
  65. "projectName": "flat-cache"
  66. },
  67. "devDependencies": {
  68. "chai": "^3.2.0",
  69. "changelogx": "3.0.0",
  70. "esbeautifier": "10.1.1",
  71. "eslinter": "^3.2.1",
  72. "glob-expand": "0.2.1",
  73. "istanbul": "0.4.5",
  74. "mocha": "5.2.0",
  75. "precommit": "^1.1.5",
  76. "prepush": "^3.1.4",
  77. "proxyquire": "^1.7.2",
  78. "sinon": "^1.16.1",
  79. "sinon-chai": "^2.8.0",
  80. "watch-run": "^1.2.2"
  81. },
  82. "dependencies": {
  83. "flatted": "^2.0.0",
  84. "rimraf": "2.6.3",
  85. "write": "1.0.3"
  86. }
  87. }