-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 3.17 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
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
{
"name": "sentence-copilot",
"displayName": "sentence Copilot",
"description": "🍰 Generate concise and engaging fiction sentences effortlessly within the Visual Studio Code (VSCode) editor",
"version": "0.0.1",
"publisher": "jingfelix",
"icon": "line_pilot_logo.png",
"repository": "https://github.com/HAMNET-AI/line-copilot-vscode-extension",
"engines": {
"vscode": "^1.82.2"
},
"license": "Apache-2.0",
"enabledApiProposals": [
"inlineCompletionsAdditions"
],
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.SentenceCopilotSettings",
"title": "Sentence Copilot Settings"
},
{
"command": "extension.SentenceCopilotBookUpload",
"title": "Sentence Copilot Book Upload"
},
{
"command": "extension.nextCompleteNumber",
"title": "Sentence Copilot Next Complete Number"
},
{
"command": "extension.chooseBook",
"title": "Sentence Copilot Choose Book"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceExtname == .txt",
"command": "extension.SentenceCopilotBookUpload",
"group": "navigation"
}
],
"editor/context": [
{
"command": "extension.SentenceCopilotBookUpload",
"group": "navigation"
}
]
},
"configuration": {
"title": "Sentence Copilot Configuration",
"properties": {
"SentenceCopilot.bookID": {
"type": "string",
"default": "",
"description": "BOOK_ID of the book to search for"
},
"SentenceCopilot.apiKey": {
"type": "string",
"default": "",
"description": "API key for EasySearch"
},
"SentenceCopilot.completionDelay": {
"type": "number",
"minimum": 0.5,
"default": 0.5,
"description": "The delay in seconds to start getting completions without new change in the editor. You can change this value to get better experience in coding with our extension and to avoid some unuseful completion suggestions."
},
"SentenceCopilot.nextCompleteNumber": {
"type": "number",
"minimum": 1,
"default": 1,
"description": "The number of consecutively completed sentences"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run esbuild-base -- --minify",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./",
"download-api": "vscode-dts dev",
"postdownload-api": "vscode-dts main",
"postinstall": "npm run download-api",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/node": "^12.12.0",
"@types/node-fetch": "^2.5.10",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"esbuild": "^0.15.5",
"eslint": "^7.21.0",
"typescript": "^4.2.2",
"vscode-dts": "^0.3.3"
},
"dependencies": {
"@types/jsdom": "^16.2.12",
"dotenv": "^16.3.1",
"form-data": "^4.0.0",
"jsdom": "^16.6.0",
"node-fetch": "^2.6.1"
}
}