-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.24 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
{
"name": "cogsvcs-keyphrases",
"displayName": "cogsvcs-keyphrases",
"description": "Identify keyphrases of doc using Microsoft Cognitive Services Text Analytics",
"version": "0.0.2",
"engines": {
"vscode": "^1.28.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.CogServKeyWords"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Cog Serv",
"properties": {
"CogServKeyWords.resourcename": {
"type": [
"string",
"null"
],
"default": "diberry-text-analytics",
"markdownDescription": "Text analytics resource name."
},
"CogServKeyWords.key": {
"type": [
"string",
"null"
],
"default": "eacf2fb8075d46d2b2ae3576d2656766",
"markdownDescription": "Text analytics resource key."
},
"CogServKeyWords.host": {
"type": [
"string",
"null"
],
"default": "https://westus.api.cognitive.microsoft.com",
"markdownDescription": "Text analytics host including region - `westus.api.cognitive.microsoft.com`"
},
"CogServKeyWords.route": {
"type": [
"string",
"null"
],
"default": "/text/analytics/v2.0/keyPhrases",
"markdownDescription": "Text analytics route - `/text/analytics/v2.0/keyPhrases`"
},
"CogServKeyWords.maxCount": {
"type": [
"number"
],
"default": 20,
"markdownDescription": "Max array of phrases to return, Default: 20"
},
"CogServKeyWords.filterout": {
"type": "array",
"default": [
"Azure"
],
"markdownDescription": "Words to filter out of result - `Default: Azure`"
}
}
},
"commands": [
{
"command": "extension.CogServKeyWords",
"title": "CogServKeyWords"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "./node_modules/tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "yarn run compile && node ./node_modules/vscode/bin/test"
},
"dependencies": {
"@types/underscore": "^1.8.9",
"docs-cog-services": "^0.0.1-a",
"underscore": "^1.9.1"
},
"devDependencies": {
"@types/dotenv": "^6.1.0",
"@types/mocha": "^2.2.42",
"@types/node": "^8.10.25",
"tslint": "^5.8.0",
"typescript": "^2.6.1",
"vscode": "^1.1.28"
}
}