package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "socks",
  3. "private": false,
  4. "version": "2.6.2",
  5. "description": "Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.",
  6. "main": "build/index.js",
  7. "typings": "typings/index.d.ts",
  8. "homepage": "https://github.com/JoshGlazebrook/socks/",
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/JoshGlazebrook/socks.git"
  12. },
  13. "bugs": {
  14. "url": "https://github.com/JoshGlazebrook/socks/issues"
  15. },
  16. "keywords": [
  17. "socks",
  18. "proxy",
  19. "tor",
  20. "socks 4",
  21. "socks 5",
  22. "socks4",
  23. "socks5"
  24. ],
  25. "engines": {
  26. "node": ">= 10.13.0",
  27. "npm": ">= 3.0.0"
  28. },
  29. "author": "Josh Glazebrook",
  30. "contributors": [
  31. "castorw"
  32. ],
  33. "license": "MIT",
  34. "readmeFilename": "README.md",
  35. "devDependencies": {
  36. "@types/ip": "1.1.0",
  37. "@types/mocha": "^9.1.0",
  38. "@types/node": "^17.0.15",
  39. "coveralls": "^3.1.1",
  40. "mocha": "^9.2.0",
  41. "nyc": "15.1.0",
  42. "prettier": "^2.5.1",
  43. "socks5-server": "^0.1.1",
  44. "ts-node": "^10.4.0",
  45. "typescript": "^4.5.5"
  46. },
  47. "dependencies": {
  48. "ip": "^1.1.5",
  49. "smart-buffer": "^4.2.0"
  50. },
  51. "scripts": {
  52. "prepublish": "npm install -g typescript && npm run build",
  53. "test": "NODE_ENV=test mocha --recursive --require ts-node/register test/**/*.ts",
  54. "prettier": "prettier --write ./src/**/*.ts --config .prettierrc.yaml",
  55. "coverage": "NODE_ENV=test nyc npm test",
  56. "coveralls": "NODE_ENV=test nyc npm test && nyc report --reporter=text-lcov | coveralls",
  57. "lint": "tslint --project tsconfig.json 'src/**/*.ts'",
  58. "build": "rm -rf build typings && prettier --write ./src/**/*.ts --config .prettierrc.yaml && tsc -p ."
  59. },
  60. "nyc": {
  61. "extension": [
  62. ".ts",
  63. ".tsx"
  64. ],
  65. "include": [
  66. "src/*.ts",
  67. "src/**/*.ts"
  68. ],
  69. "exclude": [
  70. "**.*.d.ts",
  71. "node_modules",
  72. "typings"
  73. ],
  74. "require": [
  75. "ts-node/register"
  76. ],
  77. "reporter": [
  78. "json",
  79. "html"
  80. ],
  81. "all": true
  82. }
  83. }