-
-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.4 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.4 KB
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
{
"name": "fanyi",
"version": "11.0.0",
"description": "A translator in your command line",
"main": "index.mjs",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/afc163/fanyi.git"
},
"author": "afc163 <afc163@gmail.com>",
"license": "MIT",
"bin": {
"fy": "bin/fanyi.mjs",
"fanyi": "bin/fanyi.mjs"
},
"keywords": [
"chinese",
"translator",
"iciba",
"deepseek",
"cli",
"fanyi"
],
"engines": {
"node": ">=20.0.0"
},
"readmeFilename": "README.md",
"files": [
"index.mjs",
"bin",
"lib"
],
"dependencies": {
"chalk": "^5.3.0",
"commander": "^12.1.0",
"dayjs": "^1.11.13",
"gradient-string": "^3.0.0",
"openai": "^6.44.0",
"ora": "^9.4.1",
"update-notifier": "^7.3.1"
},
"lint-staged": {
"*.{js,mjs,ts,json,yml}": [
"biome check --write --files-ignore-unknown=true --no-errors-on-unmatched"
]
},
"devDependencies": {
"@biomejs/biome": "^2.5.2",
"c8": "^11.0.0",
"husky": "^9.1.6",
"lint-staged": "^17.0.8",
"np": "^11.2.2",
"vitest": "^4.1.8"
},
"scripts": {
"test": "vitest run --test-timeout=20000",
"coverage": "c8 --reporter=lcov --reporter=text npm test",
"lint": "biome check .",
"format": "biome check . --write",
"prepublishOnly": "npm test",
"lint-staged": "lint-staged",
"prepare": "husky"
},
"type": "module"
}