vite-plugin-i18n-extract
Version:
60 lines • 1.49 kB
JSON
{
"name": "vite-plugin-i18n-extract",
"version": "1.0.0",
"description": "Vite 插件:自动收集中文并翻译为多语言",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "tsc -w",
"build": "tsc && vite build",
"prepublishOnly": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"vite-plugin",
"i18n",
"translation",
"chinese",
"vue",
"internationalization",
"translation-api",
"vue-i18n"
],
"author": "WangChao <wcd126yx@126.com>",
"homepage": "https://github.com/yourusername/vite-plugin-i18n-extract",
"repository": {
"type": "git",
"url": "https://github.com/yourusername/vite-plugin-i18n-extract.git"
},
"bugs": {
"url": "https://github.com/yourusername/vite-plugin-i18n-extract/issues"
},
"license": "MIT",
"dependencies": {
"@babel/core": "^7.26.10",
"@babel/parser": "^7.27.0",
"@babel/traverse": "^7.27.0",
"@vue/compiler-sfc": "^3.5.13",
"axios": "^1.8.4",
"fast-glob": "^3.3.3",
"md5": "^2.3.0",
"node-cache": "^5.1.2"
},
"devDependencies": {
"@types/babel__traverse": "^7.20.7",
"@types/node": "^22.14.1",
"typescript": "^5.8.3",
"vite": "^6.3.0",
"vue": "^3.5.13"
},
"peerDependencies": {
"vite": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
},
"engines": {
"node": ">=14.0.0"
}
}