package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "@parcel/watcher",
  3. "version": "2.5.1",
  4. "main": "index.js",
  5. "types": "index.d.ts",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/parcel-bundler/watcher.git"
  9. },
  10. "description": "A native C++ Node module for querying and subscribing to filesystem events. Used by Parcel 2.",
  11. "license": "MIT",
  12. "publishConfig": {
  13. "access": "public"
  14. },
  15. "funding": {
  16. "type": "opencollective",
  17. "url": "https://opencollective.com/parcel"
  18. },
  19. "files": [
  20. "index.js",
  21. "index.js.flow",
  22. "index.d.ts",
  23. "wrapper.js",
  24. "package.json",
  25. "README.md",
  26. "LICENSE",
  27. "src",
  28. "scripts/build-from-source.js",
  29. "binding.gyp"
  30. ],
  31. "scripts": {
  32. "prebuild": "prebuildify --napi --strip --tag-libc",
  33. "format": "prettier --write \"./**/*.{js,json,md}\"",
  34. "build": "node-gyp rebuild",
  35. "install": "node scripts/build-from-source.js",
  36. "test": "mocha"
  37. },
  38. "engines": {
  39. "node": ">= 10.0.0"
  40. },
  41. "husky": {
  42. "hooks": {
  43. "pre-commit": "lint-staged"
  44. }
  45. },
  46. "lint-staged": {
  47. "*.{js,json,md}": [
  48. "prettier --write",
  49. "git add"
  50. ]
  51. },
  52. "dependencies": {
  53. "detect-libc": "^1.0.3",
  54. "is-glob": "^4.0.3",
  55. "micromatch": "^4.0.5",
  56. "node-addon-api": "^7.0.0"
  57. },
  58. "devDependencies": {
  59. "esbuild": "^0.19.8",
  60. "fs-extra": "^10.0.0",
  61. "husky": "^7.0.2",
  62. "lint-staged": "^11.1.2",
  63. "mocha": "^9.1.1",
  64. "napi-wasm": "^1.1.0",
  65. "prebuildify": "^6.0.1",
  66. "prettier": "^2.3.2"
  67. },
  68. "binary": {
  69. "napi_versions": [
  70. 3
  71. ]
  72. },
  73. "optionalDependencies": {
  74. "@parcel/watcher-darwin-x64": "2.5.1",
  75. "@parcel/watcher-darwin-arm64": "2.5.1",
  76. "@parcel/watcher-win32-x64": "2.5.1",
  77. "@parcel/watcher-win32-arm64": "2.5.1",
  78. "@parcel/watcher-win32-ia32": "2.5.1",
  79. "@parcel/watcher-linux-x64-glibc": "2.5.1",
  80. "@parcel/watcher-linux-x64-musl": "2.5.1",
  81. "@parcel/watcher-linux-arm64-glibc": "2.5.1",
  82. "@parcel/watcher-linux-arm64-musl": "2.5.1",
  83. "@parcel/watcher-linux-arm-glibc": "2.5.1",
  84. "@parcel/watcher-linux-arm-musl": "2.5.1",
  85. "@parcel/watcher-android-arm64": "2.5.1",
  86. "@parcel/watcher-freebsd-x64": "2.5.1"
  87. }
  88. }