-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.38 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 3.38 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "ai-latex-helper",
"displayName": "AI LaTeX Helper",
"description": "VS Code extension for automatic LaTeX generation from natural language",
"publisher": "abd-dev",
"icon": "media/icon.png",
"galleryBanner": {
},
"version": "0.0.4",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/abdxdev/AI-LaTeX-Helper"
},
"keywords": [
"latex",
"ai",
"latex-helper",
"latex-ai-helper",
"math",
"latex-assistant",
"latex-generator",
"markdown"
],
"author": "abd-dev",
"license": "MIT",
"activationEvents": [
"onLanguage:markdown",
"onLanguage:python",
"onNotebook:jupyter-notebook"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "ai-latex-helper.convert-to-latex",
"title": "Convert Selection to LaTeX"
},
{
"command": "ai-latex-helper.toggle",
"title": "Toggle LaTeX AI Suggestions"
},
{
"command": "abd-dev.setApiKey",
"title": "abd-dev: Set Gemini API Key"
}
],
"keybindings": [
{
"command": "ai-latex-helper.convert-to-latex",
"key": "ctrl+alt+l",
"mac": "cmd+alt+l",
"when": "editorTextFocus && (editorLangId == 'markdown')"
},
{
"command": "ai-latex-helper.toggle",
"key": "ctrl+alt+t",
"mac": "cmd+alt+t",
"when": "editorTextFocus && (editorLangId == 'markdown')"
}
],
"configuration": {
"title": "AI LaTeX Extension",
"properties": {
"abd-dev.geminiApiKey": {
"type": "string",
"default": "",
"description": "API key for Google Generative AI"
},
"abd-dev.geminiModel": {
"type": "string",
"default": "gemini-2.0-flash-001",
"description": "Model to use for code generation"
},
"ai-latex-helper.debounceDelay": {
"type": "number",
"default": 1000,
"description": "Delay in milliseconds before triggering LaTeX suggestions"
},
"ai-latex-helper.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable LaTeX AI suggestions"
}
}
}
},
"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",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^8.25.0",
"@typescript-eslint/parser": "^8.25.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.25.0",
"eslint": "^9.21.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.7.3"
},
"dependencies": {
"@google/generative-ai": "^0.23.0"
}
}