用工小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.5 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. {
  2. "name": "flat-cache",
  3. "version": "3.2.0",
  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": "^10.12.0 || >=12.0.0"
  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. "eslint-fix": "npm run eslint -- --fix",
  29. "autofix": "npm run eslint-fix",
  30. "check": "npm run eslint",
  31. "verify": "npm run eslint && npm run test:cache",
  32. "test:cache": "c8 mocha -R spec test/specs",
  33. "test:ci:cache": "c8 --reporter=lcov mocha -R spec test/specs",
  34. "test": "npm run verify --silent"
  35. },
  36. "keywords": [
  37. "json cache",
  38. "simple cache",
  39. "file cache",
  40. "key par",
  41. "key value",
  42. "cache"
  43. ],
  44. "devDependencies": {
  45. "c8": "^7.14.0",
  46. "chai": "^4.3.10",
  47. "eslint": "^7.13.0",
  48. "eslint-config-prettier": "^6.15.0",
  49. "eslint-plugin-mocha": "^8.0.0",
  50. "eslint-plugin-prettier": "^3.1.4",
  51. "glob-expand": "^0.2.1",
  52. "mocha": "^8.4.0",
  53. "prettier": "^2.1.2",
  54. "write": "^2.0.0"
  55. },
  56. "dependencies": {
  57. "flatted": "^3.2.9",
  58. "keyv": "^4.5.3",
  59. "rimraf": "^3.0.2"
  60. }
  61. }