{
  "name": "yanyu",
  "version": "0.1.4",
  "description": "A Chinese speech synthesis and recognition library toolkit",
  "main": "dist/index",
  "types": "dist/index",
  "scripts": {
    "start": "pnpm build:live",
    "build": "tsc -p .",
    "build:live": "nodemon --watch 'src/**/*.ts' --exec \"ts-node\" src/index.ts",
    "test": "jest && pnpm clean:audio",
    "prepublishOnly": "pnpm build && pnpm test",
    "format": "prettier --write \"src/**/*.{js,ts}\"",
    "lint": "eslint . && pnpm lint:language",
    "lint:language": "alex .",
    "clean": "rm -rf ./node_modules ./dist",
    "clean:audio": "rm -rf ./*.mp3",
    "release": "standard-version",
    "postrelease": "git push --follow-tags origin main && pnpm publish"
  },
  "repository": "https://github.com/byhow/yanyu",
  "keywords": [
    "speech",
    "synthesis",
    "pinyin"
  ],
  "author": "byhow",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/byhow/yanyu/issues"
  },
  "homepage": "https://github.com/byhow/yanyu#readme",
  "devDependencies": {
    "@commitlint/cli": "^19.3.0",
    "@commitlint/config-conventional": "^19.2.2",
    "@types/audiosprite": "^0.7.3",
    "@types/jest": "29.5.12",
    "@types/node": "^20.12.11",
    "@types/pinyin": "^2.10.2",
    "@typescript-eslint/eslint-plugin": "latest",
    "@typescript-eslint/parser": "latest",
    "alex": "11.0.1",
    "audiosprite": "^0.7.2",
    "eslint": "^8.57.0",
    "husky": "^9.0.11",
    "jest": "^29.7.0",
    "lint-staged": "^15.2.2",
    "pinyin": "^3.1.0",
    "prettier": "^3.2.5",
    "standard-version": "^9.5.0",
    "typescript": "^5.4.5"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/**/*.{js,jsx,ts,tsx,json,css}": [
      "prettier --write",
      "eslint --fix src/",
      "git add"
    ]
  }
}
