-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
102 lines (102 loc) · 3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "i18n-pro",
"version": "2.1.1",
"description": "Lightweight, simple, flexible, automatic translation internationalization tool for JavaScript(适用于 JavaScript 的轻量、简单、灵活、自动翻译的国际化工具)",
"files": [
"dist/src",
"template",
"i18n/langs.json",
"./index.js"
],
"types": "./dist/src/lib/index.d.ts",
"main": "./index.js",
"bin": {
"i18n": "dist/src/bin/index.js"
},
"scripts": {
"prepare": "husky install",
"dev": "npx tsc --watch",
"docs": "jtm run",
"docs-translate": "node ./dist/src/bin/index.js t -P docs/src",
"test-init": "node ./dist/src/bin/index.js init",
"test-t": "node ./dist/src/bin/index.js t",
"test-translate": "node ./dist/src/bin/index.js translate",
"build-bin": "tsc",
"build": "npm run build-bin && rimraf dist/src/lib && rollup -c",
"publish": "npm run build && npm publish --access=public --registry https://registry.npmjs.org",
"lint-code": "npx lint-staged",
"lint-msg": "npx commitlint --edit",
"test": "cross-env NODE_ENV=src vitest --ui",
"test:pkg": "cross-env NODE_ENV=pkg vitest run",
"coverage": "cross-env NODE_ENV=src vitest run --coverage"
},
"keywords": [
"intl",
"i18n",
"internationalization",
"locale",
"l10n",
"localization",
"translate",
"translation",
"国际化",
"多语言",
"自动翻译",
"automatic translation"
],
"author": "Eyelly Wu",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@eyelly/prettier-config": "^1.0.0",
"@types/node": "^17.0.45",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"@vitest/coverage-istanbul": "^0.22.1",
"@vitest/ui": "^0.22.1",
"cross-env": "^7.0.3",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-formatter-table": "^7.32.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.2",
"jsx-to-md": "0.11.3",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"rollup-plugin-prettier": "^2.3.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.33.0",
"tslib": "^2.4.1",
"typescript": "4.8.4",
"vitest": "^0.22.1"
},
"lint-staged": {
"*.{json,ts,tsx,js}": "eslint --fix -f table"
},
"repository": {
"type": "git",
"url": "git+https://github.com/i18n-pro/core.git"
},
"homepage": "https://github.com/i18n-pro/core",
"bugs": {
"url": "https://github.com/i18n-pro/core/issues"
},
"dependencies": {
"@alicloud/alimt20181012": "^1.0.4",
"@alicloud/openapi-client": "^0.4.4",
"@alicloud/tea-util": "^1.4.5",
"@google-cloud/translate": "7",
"fast-glob": "^3.3.1",
"google-translate-api-x": "^10.6.1",
"gpt-3-encoder": "^1.1.4",
"https-proxy-agent": "^5.0.1",
"node-fetch": "^2.6.11"
},
"codeNameMap": {
"en": "",
"zh": "zh-CN"
}
}