package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "_args": [
  3. [
  4. "flat-cache@1.3.4",
  5. "/Users/lihai/jolijoli/pad_spa"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "flat-cache@1.3.4",
  10. "_id": "flat-cache@1.3.4",
  11. "_inBundle": false,
  12. "_integrity": "sha1-LC73dSXMKSkAff/6HdMUqpyd7m8=",
  13. "_location": "/flat-cache",
  14. "_optional": true,
  15. "_phantomChildren": {},
  16. "_requested": {
  17. "type": "version",
  18. "registry": true,
  19. "raw": "flat-cache@1.3.4",
  20. "name": "flat-cache",
  21. "escapedName": "flat-cache",
  22. "rawSpec": "1.3.4",
  23. "saveSpec": null,
  24. "fetchSpec": "1.3.4"
  25. },
  26. "_requiredBy": [
  27. "/file-entry-cache"
  28. ],
  29. "_resolved": "https://registry.npm.taobao.org/flat-cache/download/flat-cache-1.3.4.tgz",
  30. "_spec": "1.3.4",
  31. "_where": "/Users/lihai/jolijoli/pad_spa",
  32. "author": {
  33. "name": "Roy Riojas",
  34. "url": "http://royriojas.com"
  35. },
  36. "bugs": {
  37. "url": "https://github.com/royriojas/flat-cache/issues"
  38. },
  39. "changelogx": {
  40. "ignoreRegExp": [
  41. "BLD: Release",
  42. "DOC: Generate Changelog",
  43. "Generated Changelog"
  44. ],
  45. "issueIDRegExp": "#(\\d+)",
  46. "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}",
  47. "authorURL": "https://github.com/{0}",
  48. "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}",
  49. "projectName": "flat-cache"
  50. },
  51. "dependencies": {
  52. "circular-json": "^0.3.1",
  53. "graceful-fs": "^4.1.2",
  54. "rimraf": "~2.6.2",
  55. "write": "^0.2.1"
  56. },
  57. "description": "A stupidly simple key/value storage using files to persist some data",
  58. "devDependencies": {
  59. "chai": "^3.2.0",
  60. "changelogx": "3.0.0",
  61. "esbeautifier": "10.1.1",
  62. "eslinter": "^3.2.1",
  63. "glob-expand": "0.2.1",
  64. "istanbul": "0.4.5",
  65. "mocha": "5.2.0",
  66. "precommit": "^1.1.5",
  67. "prepush": "^3.1.4",
  68. "proxyquire": "^1.7.2",
  69. "sinon": "^1.16.1",
  70. "sinon-chai": "^2.8.0",
  71. "watch-run": "^1.2.2"
  72. },
  73. "engines": {
  74. "node": ">=0.10.0"
  75. },
  76. "files": [
  77. "cache.js",
  78. "utils.js",
  79. "del.js"
  80. ],
  81. "homepage": "https://github.com/royriojas/flat-cache#readme",
  82. "keywords": [
  83. "json cache",
  84. "simple cache",
  85. "file cache",
  86. "key par",
  87. "key value",
  88. "cache"
  89. ],
  90. "license": "MIT",
  91. "main": "cache.js",
  92. "name": "flat-cache",
  93. "precommit": [
  94. "npm run verify --silent"
  95. ],
  96. "prepush": [
  97. "npm run verify --silent"
  98. ],
  99. "repository": {
  100. "type": "git",
  101. "url": "git+https://github.com/royriojas/flat-cache.git"
  102. },
  103. "scripts": {
  104. "autofix": "npm run beautify && npm run eslint-fix",
  105. "beautify": "esbeautifier 'cache.js' 'utils.js' 'del.js' 'test/specs/**/*.js'",
  106. "beautify-check": "npm run beautify -- -k",
  107. "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v",
  108. "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v",
  109. "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v",
  110. "changelog": "changelogx -f markdown -o ./changelog.md",
  111. "check": "npm run beautify-check && npm run eslint",
  112. "cover": "istanbul cover test/runner.js html text-summary",
  113. "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify",
  114. "eslint": "eslinter 'cache.js' 'utils.js' 'del.js' 'specs/**/*.js'",
  115. "eslint-fix": "npm run eslint -- --fix",
  116. "install-hooks": "prepush install && changelogx install-hook && precommit install",
  117. "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify",
  118. "pre-v": "npm run verify",
  119. "test": "npm run verify --silent",
  120. "test:cache": "mocha -R spec test/specs",
  121. "verify": "npm run check && npm run test:cache",
  122. "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary"
  123. },
  124. "version": "1.3.4"
  125. }