package.json 2.8 KB

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