Files
ritmex-bot/package.json
T
discountry eb70bab8c5 Add Oxlint configuration and integrate linting commands
- Introduced a new `.oxlintrc.json` file to configure Oxlint for code quality checks.
- Updated `package.json` to include linting scripts (`lint` and `lint:fix`) for easier code maintenance.
- Enhanced documentation in `README` files to guide users on running Oxlint checks and applying fixes.
2026-03-12 22:40:18 +08:00

54 lines
1.9 KiB
JSON

{
"name": "ritmex-bot",
"version": "0.1.0",
"module": "index.ts",
"type": "module",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/discountry/ritmex-bot.git"
},
"bin": {
"ritmex-bot": "./bin/ritmex-bot"
},
"scripts": {
"dev": "bun run index.ts",
"start": "bun run index.ts",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"test": "bun x vitest run",
"test:exchange-contract": "bun x vitest run tests/exchange-contract-suite.test.ts tests/exchange-factory.test.ts tests/config.test.ts",
"test:watch": "bun x vitest",
"start:trend:silent": "bun run index.ts --strategy trend --silent",
"start:maker:silent": "bun run index.ts --strategy maker --silent",
"start:offset:silent": "bun run index.ts --strategy offset-maker --silent",
"pm2:start:trend": "pm2 start bun --name ritmex-trend --cwd . --restart-delay 5000 -- run index.ts --strategy trend --silent",
"pm2:start:maker": "pm2 start bun --name ritmex-maker --cwd . --restart-delay 5000 -- run index.ts --strategy maker --silent",
"pm2:start:offset": "pm2 start bun --name ritmex-offset --cwd . --restart-delay 5000 -- run index.ts --strategy offset-maker --silent",
"pm2:start:maker-points": "pm2 start bun --name ritmex-maker-points --cwd . --restart-delay 5000 -- run index.ts --strategy maker-points --exchange standx --silent"
},
"devDependencies": {
"@types/bun": "^1.3.9",
"oxlint": "^1.54.0",
"vitest": "^4.0.18"
},
"peerDependencies": {
"typescript": "^5.9.3"
},
"dependencies": {
"@grvt/client": "^1.6.27",
"@nadohq/client": "^0.1.0-alpha.51",
"@noble/ed25519": "^3.0.0",
"axios": "^1.13.6",
"bignumber.js": "^10.0.2",
"ccxt": "^4.5.40",
"dotenv": "^17.3.1",
"ethereum-cryptography": "^3.2.0",
"ink": "^6.8.0",
"react": "^19.2.4",
"trading-signals": "^7.4.3",
"viem": "^2.46.3",
"ws": "^8.19.0"
}
}