-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.58 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
{
"name": "aitexttransformer",
"displayName": "AI Text Transformer",
"description": "Uses AI to enhance the selected text.",
"repository": "https://github.com/maptz/maptz.vscode.extensions.aitexttransformer",
"icon": "https://raw.githubusercontent.com/maptz/maptz.vscode.extensions.aitexttransformer/main/resx/icon.png",
"publisher": "maptz",
"version": "0.0.1",
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"configuration": [
{
"id": "widgetSamples",
"title": "AI Text Transformer Settings",
"order": 2,
"properties": {
"aitexttransformer.apiKey": {
"type": "string",
"default": "",
"description": "The API key for the AI service."
},
"aitexttransformer.defaultFullPrompt": {
"type": "string",
"default": "Make the text following the --- {0}. Return only the revised text without the --- in your response and nothing else.\r\n---\r\n{1}",
"description": "The default full prompt to be used by the service to transform selection."
},
"aitexttransformer.defaultTransform": {
"type": "string",
"default": "more casual",
"description": "The default term used to complete the prompt."
},
"aitexttransformer.aiService": {
"type": "array",
"description": "The AI to use",
"default": "openAI",
"items": {
"type": "string",
"enum": [
"openAI"
]
},
"uniqueItems": true
}
}
}
],
"commands": [
{
"command": "aitexttransformer.transformSelectedText",
"title": "Transform selected text (AI)"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/node-fetch": "^2.6.2",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vscode/test-electron": "^2.2.3",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5"
},
"dependencies": {
"node-fetch": "^2.6.9"
}
}