您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

74 行
1.6 KiB

  1. {
  2. "name": "chokidar",
  3. "description": "Minimal and efficient cross-platform file watching library",
  4. "version": "4.0.1",
  5. "homepage": "https://github.com/paulmillr/chokidar",
  6. "author": "Paul Miller (https://paulmillr.com)",
  7. "files": [
  8. "index.js",
  9. "index.d.ts",
  10. "index.d.ts.map",
  11. "index.js.map",
  12. "handler.js",
  13. "handler.d.ts",
  14. "handler.d.ts.map",
  15. "handler.js.map",
  16. "esm"
  17. ],
  18. "main": "./index.js",
  19. "module": "./esm/index.js",
  20. "types": "./index.d.ts",
  21. "exports": {
  22. ".": {
  23. "import": "./esm/index.js",
  24. "require": "./index.js"
  25. },
  26. "./handler.js": {
  27. "import": "./esm/handler.js",
  28. "require": "./handler.js"
  29. }
  30. },
  31. "dependencies": {
  32. "readdirp": "^4.0.1"
  33. },
  34. "devDependencies": {
  35. "@paulmillr/jsbt": "0.2.1",
  36. "@types/node": "20.14.8",
  37. "chai": "4.3.4",
  38. "prettier": "3.1.1",
  39. "rimraf": "5.0.5",
  40. "sinon": "12.0.1",
  41. "sinon-chai": "3.7.0",
  42. "typescript": "5.5.2",
  43. "upath": "2.0.1"
  44. },
  45. "sideEffects": false,
  46. "engines": {
  47. "node": ">= 14.16.0"
  48. },
  49. "repository": {
  50. "type": "git",
  51. "url": "git+https://github.com/paulmillr/chokidar.git"
  52. },
  53. "bugs": {
  54. "url": "https://github.com/paulmillr/chokidar/issues"
  55. },
  56. "license": "MIT",
  57. "scripts": {
  58. "build": "tsc && tsc -p tsconfig.esm.json",
  59. "lint": "prettier --check src",
  60. "format": "prettier --write src",
  61. "test": "node --test"
  62. },
  63. "keywords": [
  64. "fs",
  65. "watch",
  66. "watchFile",
  67. "watcher",
  68. "watching",
  69. "file",
  70. "fsevents"
  71. ],
  72. "funding": "https://paulmillr.com/funding/"
  73. }