package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. "jest": "^29.7.0",
  23. "prettier": "~3.0",
  24. "rimraf": "~5.0",
  25. "ts-api-utils": "~1.0",
  26. "ts-jest": "^29.1.1",
  27. "ts-node": "^10.9.2",
  28. "tsc-alias": "1.8.8",
  29. "tsx": "^4.20.5",
  30. "typescript": "~5.1.0"
  31. },
  32. "scripts": {
  33. "start": "tsx run.ts",
  34. "start:modular": "tsx src/main-modular.ts",
  35. "start:prod": "NODE_ENV=production tsx run-production.ts",
  36. "start:dev": "tsx src/main.ts",
  37. "build": "tsc -p tsconfig.json && tsc-alias",
  38. "test": "jest",
  39. "test:modular": "tsx src/main-modular.ts --test-mode",
  40. "lint": "eslint . --ext .ts --ext .mts",
  41. "prettier": "prettier --config .prettierrc --write .",
  42. "trade:real": "tsx real_order_test.ts --confirm",
  43. "experiment:volume": "tsx volume_experiment.ts",
  44. "deploy": "pm2 start ecosystem.config.js --env production",
  45. "health": "curl -f http://localhost:3001/health || echo 'Health check failed'"
  46. },
  47. "license": "Apache-2.0",
  48. "dependencies": {
  49. "@binance/algo": "^2.0.4",
  50. "@binance/derivatives-trading-coin-futures": "^6.0.2",
  51. "@binance/derivatives-trading-usds-futures": "^10.0.1",
  52. "@binance/margin-trading": "^6.0.2",
  53. "@binance/spot": "^8.0.1",
  54. "axios": "^1.6.2",
  55. "bip39": "^3.1.0",
  56. "bs58": "^6.0.0",
  57. "ccxt": "^4.1.77",
  58. "dotenv": "^17.2.2",
  59. "ethers": "^6.8.1",
  60. "https-proxy-agent": "^7.0.2",
  61. "lodash": "^4.17.21",
  62. "moment": "^2.29.4",
  63. "node-cron": "^3.0.3",
  64. "pg": "^8.11.3",
  65. "redis": "^4.6.10",
  66. "sequelize": "^6.35.1",
  67. "socks-proxy-agent": "^8.0.5",
  68. "tslib": "~2.6.2",
  69. "tweetnacl": "^1.0.3",
  70. "winston": "^3.11.0",
  71. "ws": "^8.16.0",
  72. "yaml": "^2.3.4"
  73. },
  74. "volta": {
  75. "node": "18.12.1"
  76. }
  77. }