package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "ruleset.skk.moe",
  3. "version": "0.0.0",
  4. "private": true,
  5. "description": "",
  6. "repository": {
  7. "type": "git",
  8. "url": "git+https://github.com/SukkaW/Surge.git"
  9. },
  10. "type": "commonjs",
  11. "scripts": {
  12. "node": "SWCRC=true node -r @swc-node/register",
  13. "dexnode": "SWCRC=true dexnode -r @swc-node/register",
  14. "build": "pnpm run node ./Build/index.ts",
  15. "build-profile": "pnpm run dexnode -r @swc-node/register ./Build/index.ts",
  16. "build-webstream": "ENABLE_EXPERIMENTAL_WEBSTREAMS=true pnpm run node ./Build/index.ts",
  17. "lint": "eslint --format=sukka .",
  18. "test": "SWCRC=true SWC_NODE_PROJECT=tsconfig.test.json mocha --require @swc-node/register --watch-extensions ts,tsx"
  19. },
  20. "author": "",
  21. "license": "ISC",
  22. "dependencies": {
  23. "@ghostery/adblocker": "^2.5.0",
  24. "@henrygd/queue": "^1.0.7",
  25. "@mitata/counters": "^0.0.8",
  26. "async-retry": "^1.3.3",
  27. "better-sqlite3": "^11.8.1",
  28. "ci-info": "^4.1.0",
  29. "csv-parse": "^5.6.0",
  30. "dns2": "^2.1.0",
  31. "fast-cidr-tools": "^0.3.2",
  32. "fast-fifo": "^1.3.2",
  33. "fdir": "^6.4.3",
  34. "foxts": "^1.5.1",
  35. "hash-wasm": "^4.12.0",
  36. "json-stringify-pretty-compact": "3.0.0",
  37. "picocolors": "^1.1.1",
  38. "tar-fs": "^3.0.8",
  39. "tinyexec": "^0.3.2",
  40. "tldts": "^6.1.82",
  41. "tldts-experimental": "^6.1.82",
  42. "undici": "^7.4.0",
  43. "undici-cache-store-better-sqlite3": "^0.1.1",
  44. "whoiser": "^1.18.0",
  45. "why-is-node-running": "^3.2.2",
  46. "worktank": "^2.7.3",
  47. "xbits": "^0.2.0",
  48. "yaml": "^2.7.0"
  49. },
  50. "devDependencies": {
  51. "@eslint-sukka/node": "^6.15.2",
  52. "@swc-node/register": "^1.10.9",
  53. "@swc/core": "^1.11.5",
  54. "@types/async-retry": "^1.4.9",
  55. "@types/better-sqlite3": "^7.6.12",
  56. "@types/dns2": "^2.0.9",
  57. "@types/fast-fifo": "^1.3.0",
  58. "@types/mocha": "^10.0.10",
  59. "@types/node": "^22.13.8",
  60. "@types/tar-fs": "^2.0.4",
  61. "eslint": "^9.21.0",
  62. "eslint-config-sukka": "^6.15.2",
  63. "eslint-formatter-sukka": "^6.15.2",
  64. "expect": "^29.7.0",
  65. "mitata": "^1.0.34",
  66. "mocha": "^11.1.0",
  67. "typescript": "^5.8.2"
  68. },
  69. "packageManager": "pnpm@10.5.2",
  70. "pnpm": {
  71. "patchedDependencies": {
  72. "undici": "patches/undici.patch",
  73. "whoiser": "patches/whoiser.patch"
  74. },
  75. "onlyBuiltDependencies": [
  76. "@swc/core",
  77. "better-sqlite3"
  78. ]
  79. },
  80. "resolutions": {
  81. "has": "npm:@nolyfill/has@latest"
  82. }
  83. }