package.json 2.5 KB

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