package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "binance-api",
  3. "version": "0.0.1",
  4. "description": "多平台加密货币交易系统 - 统一集成币安、Pacifica、Aster DEX等交易所的Node.js+TypeScript交易框架",
  5. "type": "module",
  6. "engines": {
  7. "node": ">= 18.12"
  8. },
  9. "devDependencies": {
  10. "@types/jest": "~29.5",
  11. "@types/lodash": "^4.14.202",
  12. "@types/node": "^18.19.112",
  13. "@types/node-cron": "^3.0.11",
  14. "@types/node-fetch": "^2.6.11",
  15. "@types/pg": "^8.10.9",
  16. "@types/ws": "^8.5.10",
  17. "@typescript-eslint/eslint-plugin": "~6.2",
  18. "@typescript-eslint/parser": "~6.2",
  19. "eslint": "~8.46",
  20. "eslint-config-prettier": "~9.0",
  21. "eslint-plugin-prettier": "^5.1.1",
  22. "glob": "^11.0.3",
  23. "jest": "^29.7.0",
  24. "prettier": "~3.0",
  25. "rimraf": "~5.0",
  26. "ts-api-utils": "~1.0",
  27. "ts-jest": "^29.1.1",
  28. "ts-node": "^10.9.2",
  29. "tsc-alias": "1.8.8",
  30. "tsx": "^4.20.5",
  31. "typescript": "~5.1.0"
  32. },
  33. "scripts": {
  34. "start": "tsx run.ts",
  35. "start:modular": "tsx src/main-modular.ts",
  36. "start:prod": "NODE_ENV=production tsx run-production.ts",
  37. "start:dev": "tsx src/main.ts",
  38. "build": "tsc -p tsconfig.json && tsc-alias",
  39. "test": "jest",
  40. "test:modular": "tsx src/main-modular.ts --test-mode",
  41. "lint": "eslint . --ext .ts --ext .mts",
  42. "prettier": "prettier --config .prettierrc --write .",
  43. "trade:real": "tsx real_order_test.ts --confirm",
  44. "experiment:volume": "tsx volume_experiment.ts",
  45. "deploy": "pm2 start ecosystem.config.js --env production",
  46. "health": "curl -f http://localhost:3001/health || echo 'Health check failed'"
  47. },
  48. "license": "Apache-2.0",
  49. "dependencies": {
  50. "@binance/algo": "^2.0.4",
  51. "@binance/derivatives-trading-coin-futures": "^6.0.2",
  52. "@binance/derivatives-trading-usds-futures": "^10.0.1",
  53. "@binance/margin-trading": "^6.0.2",
  54. "@binance/spot": "^8.0.1",
  55. "axios": "^1.6.2",
  56. "bip39": "^3.1.0",
  57. "bs58": "^6.0.0",
  58. "ccxt": "^4.1.77",
  59. "dotenv": "^17.2.2",
  60. "ethers": "^6.8.1",
  61. "https-proxy-agent": "^7.0.2",
  62. "lodash": "^4.17.21",
  63. "moment": "^2.29.4",
  64. "node-cron": "^3.0.3",
  65. "pg": "^8.11.3",
  66. "redis": "^4.6.10",
  67. "sequelize": "^6.35.1",
  68. "socks-proxy-agent": "^8.0.5",
  69. "tslib": "~2.6.2",
  70. "tweetnacl": "^1.0.3",
  71. "winston": "^3.11.0",
  72. "ws": "^8.16.0",
  73. "yaml": "^2.3.4"
  74. },
  75. "volta": {
  76. "node": "18.12.1"
  77. }
  78. }