package.json 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "pacifica-wash-trading-system",
  3. "version": "1.0.0",
  4. "description": "Pacifica Multi-Account BTC Wash Trading System - 纯后台运行系统",
  5. "main": "dist/daemon.js",
  6. "scripts": {
  7. "build": "tsc",
  8. "start": "node dist/daemon.js",
  9. "dev": "tsx src/daemon.ts",
  10. "daemon": "tsx src/daemon.ts",
  11. "trade": "tsx scripts/run-modular-strategy.ts",
  12. "trade:delta": "tsx scripts/run-delta-neutral-simple.ts",
  13. "trade:refactored": "tsx scripts/run-refactored-strategy.ts",
  14. "trade:ws-test": "tsx scripts/test-ws-balance.ts",
  15. "trade:auto": "./scripts/auto-restart.sh",
  16. "trade:pm2": "pm2 start ecosystem.config.js",
  17. "trade:pm2:stop": "pm2 stop ecosystem.config.js",
  18. "trade:pm2:logs": "pm2 logs delta-neutral-trading",
  19. "trade:pm2:monitor": "pm2 monit",
  20. "positions": "tsx scripts/check-positions.ts",
  21. "reduce": "tsx scripts/reduce-positions.ts",
  22. "health": "node scripts/health-check.js",
  23. "cleanup-orders": "tsx scripts/cleanup-orders.ts",
  24. "cleanup-orders:dry": "tsx scripts/cleanup-orders.ts --dry",
  25. "test": "jest",
  26. "test:watch": "jest --watch",
  27. "test:basic": "tsx scripts/test-basic.ts",
  28. "test:advanced": "tsx scripts/test-advanced.ts",
  29. "diagnose:delta": "tsx scripts/diagnose-delta.ts",
  30. "analyze:logs": "tsx scripts/analyze-logs.ts",
  31. "lint": "eslint src/**/*.ts",
  32. "lint:fix": "eslint src/**/*.ts --fix",
  33. "format": "prettier --write src/**/*.ts",
  34. "clean": "rm -rf dist logs/*.log",
  35. "setup": "npm install && npm run build",
  36. "status": "ps aux | grep 'tsx src/daemon.ts' | grep -v grep",
  37. "stop": "pkill -f 'tsx src/daemon.ts'",
  38. "restart": "npm run stop && npm run start"
  39. },
  40. "keywords": [
  41. "pacifica",
  42. "wash-trading",
  43. "btc",
  44. "trading",
  45. "backend",
  46. "daemon",
  47. "automation"
  48. ],
  49. "author": "Pacifica Trading System",
  50. "license": "MIT",
  51. "dependencies": {
  52. "@solana/web3.js": "^1.98.4",
  53. "axios": "^1.6.0",
  54. "bs58": "^6.0.0",
  55. "crypto-js": "^4.2.0",
  56. "dotenv": "^16.3.1",
  57. "joi": "^17.11.0",
  58. "node-cron": "^3.0.3",
  59. "tweetnacl": "^1.0.3",
  60. "tweetnacl-util": "^0.15.1",
  61. "uuid": "^9.0.1",
  62. "winston": "^3.18.0",
  63. "winston-daily-rotate-file": "^5.0.0",
  64. "ws": "^8.14.2"
  65. },
  66. "devDependencies": {
  67. "@types/crypto-js": "^4.2.1",
  68. "@types/jest": "^29.5.8",
  69. "@types/node": "^20.9.0",
  70. "@types/uuid": "^9.0.8",
  71. "@types/ws": "^8.5.8",
  72. "@typescript-eslint/eslint-plugin": "^6.12.0",
  73. "@typescript-eslint/parser": "^6.12.0",
  74. "eslint": "^8.54.0",
  75. "eslint-config-prettier": "^9.0.0",
  76. "eslint-plugin-prettier": "^5.0.1",
  77. "jest": "^29.7.0",
  78. "prettier": "^3.1.0",
  79. "ts-jest": "^29.1.1",
  80. "tsx": "^4.1.4",
  81. "typescript": "^5.2.2"
  82. },
  83. "engines": {
  84. "node": ">=18.0.0"
  85. },
  86. "repository": {
  87. "type": "git",
  88. "url": "https://github.com/your-org/pacifica-wash-trading-system.git"
  89. },
  90. "bugs": {
  91. "url": "https://github.com/your-org/pacifica-wash-trading-system/issues"
  92. },
  93. "homepage": "https://github.com/your-org/pacifica-wash-trading-system#readme"
  94. }