-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 1.79 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
{
"name": "haikufy",
"displayName": "Haikufy",
"description": "Haikufy transforms, Code comments into haiku, Zen in VS Code.",
"version": "1.0.2",
"publisher": "aurasphere",
"license": "MIT",
"keywords": [
"haiku",
"comments",
"generator",
"gpt",
"openai"
],
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/aurasphere/haikufy.git"
},
"icon": "assets/sakura.png",
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "haikufy.generateHaiku",
"title": "Generate Haiku comment",
"category": "Haikufy",
"enablement": "editorHasSelection"
}
],
"configuration": {
"title": "Haikufy",
"properties": {
"haikufy.openAiApiKey": {
"type": "string",
"description": "Your OpenAI API key"
}
}
},
"menus": {
"editor/context": [
{
"command": "haikufy.generateHaiku",
"group": "haikufy",
"when": "editorHasSelection"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.75.0",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"@vscode/test-electron": "^2.2.2",
"eslint": "^8.33.0",
"glob": "^8.1.0",
"mocha": "^10.1.0",
"typescript": "^4.9.4"
},
"dependencies": {
"openai": "^3.1.0"
}
}