-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
75 lines (75 loc) · 1.72 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
{
"name": "writer-assistant",
"description": "Help writer write faster",
"icon": "images/logo.png",
"author": "mymusise",
"license": "MIT",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/mymusise/vscode-writer-assistant"
},
"publisher": "mymusise",
"categories": [],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.43.0"
},
"activationEvents": [
"onLanguage:plaintext"
],
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Example configuration",
"properties": {
"compositionAssistant.serverAddress": {
"scope": "resource",
"type": "string",
"default": "https://wrlp.mymusise.com",
"description": "生成服务地址."
},
"compositionAssistant.maxContext": {
"scope": "resource",
"type": "number",
"default": 128,
"description": "最大参考上下文长度."
},
"compositionAssistant.maxLength": {
"scope": "resource",
"type": "number",
"default": 8,
"description": "生成文本的长度."
},
"compositionAssistant.numSuggest": {
"scope": "resource",
"type": "number",
"default": 3,
"description": "生成的句子数量."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/mocha": "^8.0.3",
"mocha": "^8.1.1",
"@types/node": "^12.12.0",
"eslint": "^6.4.0",
"@typescript-eslint/parser": "^2.3.0",
"typescript": "^4.0.2"
},
"dependencies": {
"axios": "^0.21.1",
"got": "^11.8.1"
}
}