UNPKG

i18n-helper-babel

Version:

i18n 命令行工具。一键包裹,提取,翻译,统计。支持网页截图,翻译词条检测

115 lines (114 loc) 3.15 kB
{ "name": "i18n-helper-babel", "version": "0.1.1", "description": "i18n 命令行工具。一键包裹,提取,翻译,统计。支持网页截图,翻译词条检测", "main": ".src/cli.js", "scripts": { "test": "jest --verbose ./test", "prepare": "husky install", "pre-commit": "lint-staged", "build": "rm -rf ./dist && tsc && babel src --out-dir dist --extensions .ts", "i18n": "ts-node ./src/cli.ts scan -wetc" }, "repository": { "type": "git", "url": "git+https://github.com/1666931281/i18n-helper.git" }, "keywords": [ "i18n", "wrap", "extract", "translate", "screenshot", "包裹", "提取", "翻译", "截图" ], "author": "wuqiang", "license": "MIT", "bugs": { "url": "https://github.com/wuqiang1985/i18n-helper/issues" }, "bin": { "i18n-helper": "./src/cli.js" }, "engines": { "node": ">= 14.0.0" }, "homepage": "https://github.com/1666931281/i18n-helper#readme", "devDependencies": { "@babel/cli": "7.24.6", "@commitlint/cli": "^12.1.4", "@commitlint/config-conventional": "^12.1.4", "@types/babel__core": "7.20.5", "@types/babel-types": "7.0.16", "@types/chalk": "^2.2.0", "@types/commander": "^2.12.2", "@types/eslint": "^8.4.1", "@types/fs-extra": "^9.0.12", "@types/glob": "^7.1.3", "@types/i18next-fs-backend": "^1.0.1", "@types/inquirer": "^7.3.2", "@types/jest": "^27.0.1", "@types/lodash": "^4.14.170", "@types/log-symbols": "^3.0.0", "@types/node": "^15.12.4", "@types/ora": "^3.2.0", "@types/prettier": "^2.3.0", "@types/shelljs": "^0.8.9", "@typescript-eslint/eslint-plugin": "^5.12.1", "@typescript-eslint/parser": "^5.12.1", "cz-conventional-changelog": "^3.3.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^8.4.0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-prettier": "^4.0.0", "husky": "^7.0.1", "jest": "^27.0.6", "lint-staged": "^11.0.0", "ts-jest": "^27.0.4", "ts-node": "^10.7.0", "tslib": "^2.3.0", "typescript": "^4.3.4" }, "dependencies": { "@babel/core": "7.24.6", "@babel/plugin-proposal-class-properties": "7.18.6", "@babel/plugin-proposal-decorators": "7.24.6", "@babel/plugin-syntax-typescript": "7.24.6", "@babel/traverse": "7.24.6", "@babel/types": "7.24.6", "chalk": "^4.1.1", "commander": "^8.0.0", "eslint": "^8.9.0", "fs-extra": "^10.0.0", "glob": "^7.1.7", "i18next": "^20.4.0", "i18next-fs-backend": "^1.1.1", "inquirer": "^8.1.1", "lodash": "^4.17.21", "log-symbols": "^5.0.0", "minimatch": "^5.0.1", "ora": "^5.4.1", "prettier": "^2.3.2", "shelljs": "^0.8.4", "tencentcloud-sdk-nodejs": "^4.0.178", "vue-template-compiler": "^2.6.14", "@babel/parser": "7.26.9" }, "lint-staged": { "**/*.{ts,js}": [ "prettier --write", "eslint --fix" ], "**/*.{json,md}": [ "prettier --write" ] }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }