{ "name": "hcny", "type": "module", "version": "0.2.3", "packageManager": "pnpm@8.6.0", "description": "npm、yarn的 私有npm仓库的镜像源切换工具", "license": "MIT", "keywords": [ "npm", "registry", "toggle", "yarn" ], "main": "./dist/index.js", "module": "./dist/index.js", "bin": { "hcny": "dist/index.js", "hnrm": "dist/index.js", "hyrm": "dist/yrm.js", "hprm": "dist/prm.js" }, "files": [ "dist", "LICENSE", "README.md", "registries.json" ], "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { "build": "tsup", "coverage": "vitest run --coverage", "dev": "tsup --watch", "lint": "eslint .", "ls": "node dist/index.js ls", "play": "node dist/index.js", "prepublishOnly": "npm run build" }, "devDependencies": { "@antfu/eslint-config": "^0.39.4", "@vitest/coverage-c8": "^0.31.3", "bumpp": "^9.1.0", "cac": "^6.7.14", "eslint": "^8.41.0", "execa": "^7.1.1", "lint-staged": "^13.2.2", "node-fetch": "^3.3.1", "picocolors": "^1.0.0", "simple-git-hooks": "^2.8.1", "tsup": "^6.7.0", "typescript": "^5.0.4", "vitest": "^0.31.3" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged" }, "lint-staged": { "*": "eslint --fix" } }