@c-sheep/i18n-extract-cli
Version:
这是一款能够自动将代码里的中文转成i18n国际化标记的命令行工具。当然,你也可以用它实现将中文语言包自动翻译成其他语言。适用于vue2、vue3和react
114 lines (113 loc) • 3.23 kB
JSON
{
"name": "@c-sheep/i18n-extract-cli",
"version": "1.0.0",
"description": "这是一款能够自动将代码里的中文转成i18n国际化标记的命令行工具。当然,你也可以用它实现将中文语言包自动翻译成其他语言。适用于vue2、vue3和react",
"publishConfig": {
"access": "public"
},
"bin": {
"cc": "bin/index.js"
},
"types": "types/index.d.ts",
"scripts": {
"dev": "tsc --watch",
"build": "rimraf dist && tsc --build",
"check": "tsc --noEmit"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/export.js"
}
},
"keywords": [
"i18n",
"intl",
"extract",
"intl-cli",
"i18n-cli",
"vue-i18n",
"react-i18n",
"i18n-translate",
"auto-translate",
"translate"
],
"engines": {
"node": ">=14.21.2"
},
"author": "",
"license": "MIT",
"dependencies": {
"@babel/core": "^7.20.2",
"@babel/generator": "^7.20.0",
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-syntax-decorators": "^7.19.0",
"@babel/plugin-syntax-do-expressions": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-export-extensions": "7.0.0-beta.32",
"@babel/plugin-syntax-function-bind": "^7.18.6",
"@babel/plugin-syntax-jsx": "^7.18.6",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/preset-typescript": "^7.18.6",
"@babel/template": "^7.18.10",
"@babel/traverse": "^7.20.0",
"@babel/types": "^7.20.0",
"@ifreeovo/translate-utils": "^1.2.0",
"@vue/compiler-sfc": "^3.2.39",
"chalk": "4.1.2",
"cli-progress": "^3.11.2",
"commander": "^9.4.1",
"ejs": "^3.1.8",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"htmlparser2": "^8.0.1",
"inquirer": "8.2.5",
"leven": "3.1.0",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"minimatch": "^10.0.1",
"minimist": "^1.2.8",
"mustache": "^4.2.0",
"node-xlsx": "^0.21.0",
"prettier": "^2.7.1",
"proxy-agent": "^5.0.0",
"qs": "^6.11.0",
"semver": "^7.3.8",
"serialize-javascript": "^6.0.0",
"slash": "3.0.0",
"tencentcloud-sdk-nodejs": "^4.0.839"
},
"devDependencies": {
"@types/babel__core": "^7.1.20",
"@types/babel__generator": "^7.6.4",
"@types/babel__template": "^7.4.1",
"@types/babel__traverse": "^7.18.2",
"@types/cli-progress": "^3.11.0",
"@types/ejs": "^3.1.1",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^8.0.0",
"@types/inquirer": "^9.0.3",
"@types/lodash": "^4.14.188",
"@types/md5": "^2.3.2",
"@types/minimist": "^1.2.2",
"@types/mustache": "^4.2.5",
"@types/node": "^18.11.6",
"@types/node-fetch": "^2.6.2",
"@types/prettier": "^2.7.1",
"@types/qs": "^6.9.7",
"@types/semver": "^7.3.13",
"@types/serialize-javascript": "^5.0.2",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"rimraf": "^3.0.2",
"typescript": "^4.8.4"
},
"files": [
"bin",
"dist",
"types",
"README.md"
]
}