-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.4 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
{
"name": "easy-alt",
"displayName": "Easy Alt",
"description": "Inline AI generated alt text for img tags",
"publisher": "FatumaA",
"version": "0.0.4",
"repository": "https://github.com/FatumaA/easy-alt",
"icon": "easy-gradient.png",
"engines": {
"vscode": "^1.91.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:html",
"onLanguage:jsx",
"onLanguage:tsx"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "easy-alt.generateAlt",
"title": "Generate Alt Text Suggestions"
}
],
"keybindings": [
{
"command": "easy-alt.generateAlt",
"key": "ctrl+e",
"mac": "cmd+e",
"when": "editorTextFocus"
}
]
},
"configuration": {
"title": "Easy Alt",
"properties": {
"easyAlt.hfToken": {
"type": "string",
"default": "",
"description": "HuggingFace API Token"
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mime-types": "^2.1.4",
"@types/mocha": "^10.0.7",
"@types/node": "^20.17.6",
"@types/vscode": "^1.91.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"esbuild": "^0.21.5",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.4.5"
},
"dependencies": {
"@highlight-run/node": "^3.10.1",
"@highlight-run/pino": "^0.1.6",
"@huggingface/hub": "^0.19.0",
"@huggingface/inference": "^2.8.1",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/sdk-node": "^0.54.2",
"dotenv": "^16.4.5",
"node-html-parser": "^6.1.13",
"onnxruntime-node": "^1.20.0",
"pino": "^9.5.0",
"sharp": "^0.33.5"
}
}