package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "name": "chokidar",
  3. "description": "A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.",
  4. "version": "3.4.3",
  5. "homepage": "https://github.com/paulmillr/chokidar",
  6. "author": "Paul Miller (https://paulmillr.com)",
  7. "contributors": [
  8. "Paul Miller (https://paulmillr.com)",
  9. "Elan Shanker"
  10. ],
  11. "engines": {
  12. "node": ">= 8.10.0"
  13. },
  14. "main": "index.js",
  15. "dependencies": {
  16. "anymatch": "~3.1.1",
  17. "braces": "~3.0.2",
  18. "glob-parent": "~5.1.0",
  19. "is-binary-path": "~2.1.0",
  20. "is-glob": "~4.0.1",
  21. "normalize-path": "~3.0.0",
  22. "readdirp": "~3.5.0"
  23. },
  24. "optionalDependencies": {
  25. "fsevents": "~2.1.2"
  26. },
  27. "devDependencies": {
  28. "@types/node": "^14",
  29. "chai": "^4.2",
  30. "dtslint": "^3.3.0",
  31. "eslint": "^7.0.0",
  32. "mocha": "^7.0.0",
  33. "nyc": "^15.0.0",
  34. "rimraf": "^3.0.0",
  35. "sinon": "^9.0.1",
  36. "sinon-chai": "^3.3.0",
  37. "upath": "^1.2.0"
  38. },
  39. "files": [
  40. "index.js",
  41. "lib/*.js",
  42. "types/index.d.ts"
  43. ],
  44. "repository": {
  45. "type": "git",
  46. "url": "git+https://github.com/paulmillr/chokidar.git"
  47. },
  48. "bugs": {
  49. "url": "https://github.com/paulmillr/chokidar/issues"
  50. },
  51. "license": "MIT",
  52. "scripts": {
  53. "dtslint": "dtslint types",
  54. "lint": "eslint --report-unused-disable-directives --ignore-path .gitignore .",
  55. "mocha": "mocha --exit --timeout 60000",
  56. "test": "npm run lint && npm run mocha"
  57. },
  58. "keywords": [
  59. "fs",
  60. "watch",
  61. "watchFile",
  62. "watcher",
  63. "watching",
  64. "file",
  65. "fsevents"
  66. ],
  67. "types": "./types/index.d.ts",
  68. "eslintConfig": {
  69. "extends": "eslint:recommended",
  70. "parserOptions": {
  71. "ecmaVersion": 9,
  72. "sourceType": "script"
  73. },
  74. "env": {
  75. "node": true,
  76. "es6": true
  77. },
  78. "rules": {
  79. "array-callback-return": "error",
  80. "no-empty": [
  81. "error",
  82. {
  83. "allowEmptyCatch": true
  84. }
  85. ],
  86. "no-lonely-if": "error",
  87. "no-var": "error",
  88. "object-shorthand": "error",
  89. "prefer-arrow-callback": [
  90. "error",
  91. {
  92. "allowNamedFunctions": true
  93. }
  94. ],
  95. "prefer-const": [
  96. "error",
  97. {
  98. "ignoreReadBeforeAssign": true
  99. }
  100. ],
  101. "prefer-destructuring": [
  102. "error",
  103. {
  104. "object": true,
  105. "array": false
  106. }
  107. ],
  108. "prefer-spread": "error",
  109. "prefer-template": "error",
  110. "radix": "error",
  111. "strict": "error",
  112. "quotes": [
  113. "error",
  114. "single"
  115. ]
  116. }
  117. },
  118. "nyc": {
  119. "include": [
  120. "index.js",
  121. "lib/*.js"
  122. ],
  123. "reporter": [
  124. "html",
  125. "text"
  126. ]
  127. },
  128. "__npminstall_done": "Thu Dec 24 2020 20:20:57 GMT+0800 (CST)",
  129. "_from": "chokidar@3.4.3",
  130. "_resolved": "https://registry.npm.taobao.org/chokidar/download/chokidar-3.4.3.tgz?cache=0&sync_timestamp=1602585320207&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchokidar%2Fdownload%2Fchokidar-3.4.3.tgz"
  131. }