{
  "name": "fanyi",
  "version": "10.0.0",
  "description": "A translator in your command line",
  "main": "index.mjs",
  "repository": {
    "type": "git",
    "url": "git@github.com:afc163/fanyi.git"
  },
  "author": "afc163 <afc163@gmail.com>",
  "license": "MIT",
  "bin": {
    "fy": "bin/fanyi.mjs",
    "fanyi": "bin/fanyi.mjs"
  },
  "keywords": ["chinese", "translator", "iciba", "deepseek", "cli", "fanyi"],
  "engines": {
    "node": ">=16.0.0"
  },
  "readmeFilename": "README.md",
  "files": ["index.mjs", "bin", "lib"],
  "dependencies": {
    "chalk": "^5.3.0",
    "commander": "^12.1.0",
    "dayjs": "^1.11.13",
    "fast-xml-parser": "^4.5.0",
    "gradient-string": "^3.0.0",
    "node-fetch": "^3.3.2",
    "openai": "^4.79.1",
    "ora": "^8.1.0",
    "update-notifier": "^7.3.1"
  },
  "lint-staged": {
    "*.{js,mjs,ts,json,yml}": [
      "biome check --write --files-ignore-unknown=true --no-errors-on-unmatched"
    ]
  },
  "devDependencies": {
    "@biomejs/biome": "^1.9.2",
    "c8": "^10.1.2",
    "husky": "^9.1.6",
    "lint-staged": "^15.2.10",
    "np": "^10.0.7",
    "vitest": "^3.0.2"
  },
  "scripts": {
    "test": "vitest run --test-timeout=20000",
    "coverage": "c8 --reporter=lcov --reporter=text npm test",
    "lint": "biome check .",
    "format": "biome check . --write",
    "prepublishOnly": "np --no-cleanup --no-publish",
    "lint-staged": "lint-staged",
    "prepare": "husky"
  },
  "type": "module"
}
