-
-
Notifications
You must be signed in to change notification settings - Fork 137
/
package.json
56 lines (56 loc) · 1.43 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
{
"name": "fanyi",
"version": "9.0.7",
"description": "A translator in your command line",
"main": "index.mjs",
"repository": {
"type": "git",
"url": "[email protected]:afc163/fanyi.git"
},
"author": "afc163 <[email protected]>",
"license": "MIT",
"bin": {
"fy": "bin/fanyi.mjs",
"fanyi": "bin/fanyi.mjs"
},
"keywords": ["chinese", "translator", "iciba", "groq", "llama", "cli", "fanyi"],
"engines": {
"node": ">=16.0.0"
},
"readmeFilename": "README.md",
"files": ["index.mjs", "bin", "lib"],
"dependencies": {
"chalk": "^5.3.0",
"commander": "^12.1.0",
"dayjs": "^1.11.13",
"fast-xml-parser": "^4.5.0",
"gradient-string": "^3.0.0",
"groq-sdk": "^0.9.0",
"node-fetch": "^3.3.2",
"ora": "^8.1.0",
"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": "^1.9.2",
"c8": "^10.1.2",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"np": "^10.0.7",
"vitest": "^2.1.1"
},
"scripts": {
"test": "vitest run --test-timeout=20000",
"coverage": "c8 --reporter=lcov --reporter=text npm test",
"lint": "biome check .",
"format": "biome check . --write",
"prepublishOnly": "np --no-cleanup --no-publish",
"lint-staged": "lint-staged",
"prepare": "husky"
},
"type": "module"
}