-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.02 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
{
"name": "@mohaiyo/translate-hub",
"type": "module",
"version": "0.1.1",
"packageManager": "[email protected]",
"description": "Utilize the translation API or AI capabilities on the cloud platform, combined with the Alfred workflow, to achieve rapid translation and enhance your work efficiency.",
"author": "mohaiyo",
"license": "MIT",
"homepage": "https://github.com/Mohaiyo/translate-hub#readme",
"repository": "git+https://github.com/Mohaiyo/translate-hub.git",
"bugs": {
"url": "https://github.com/Mohaiyo/translate-hub/issues",
"email": "[email protected]"
},
"keywords": [
"alfred",
"alfred-workflow",
"translate",
"alfy",
"ai",
"workflow"
],
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.mjs"
}
}
},
"main": "./lib/esm/index.js",
"types": "./lib/esm/types/index.d.ts",
"files": [
"873A57F6-15B7-4E3D-A1E7-533DA90E527F.png",
"icon.png",
"info.plist",
"lib/**/*",
"src/assets/images/*"
],
"engines": {
"node": ">=18",
"pnpm": ">=8"
},
"scripts": {
"dev": "tsc -w -p tsconfig.esm.json",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"clean": "rm -rf ./lib",
"commit": "commit",
"build": "npm run clean && npm run build:esm",
"build:esm": "tsc -p tsconfig.esm.json",
"prepack": "npm run build",
"prepare": "husky",
"postinstall": "alfy-init",
"preuninstall": "alfy-cleanup"
},
"dependencies": {
"@alicloud/alimt20181012": "1.2.0",
"@alicloud/openapi-client": "^0.4.7",
"@alicloud/tea-util": "^1.4.7",
"@volcengine/openapi": "^1.16.0",
"alfy": "^2.0.0",
"openai": "^4.26.1"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.4",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@commitlint/prompt-cli": "^18.6.0",
"@types/node": "^20.11.16",
"eslint": "^8.56.0",
"husky": "^9.0.10",
"lint-staged": "^15.2.2",
"typescript": "^5.3.3"
}
}