-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.1 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
{
"name": "term-preview",
"displayName": "Term Preview",
"description": "Preview your project's international terms",
"publisher": "richard-bidin",
"author": {
"name": "Richard Bidin"
},
"repository": {
"type": "git",
"url": "https://github.com/nidib/term-preview"
},
"bugs": {
"url": "https://github.com/nidib/term-preview/issues",
"email": "[email protected]"
},
"version": "1.0.4",
"engines": {
"vscode": "^1.63.0"
},
"categories": ["Other"],
"activationEvents": [
"onCommand:term-preview.loadTerms",
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "term-preview.loadTerms",
"title": "Load terms"
}
],
"configuration": {
"title": "Term Preview",
"properties": {
"termPreview.enabled": {
"order": 0,
"type": "boolean",
"markdownDescription": "Enables the extension",
"default": true
},
"termPreview.absolutePathToTermsRoot": {
"order": 1,
"type": "string",
"markdownDescription": "The absolute path to your terms root",
"default": ""
},
"termPreview.file": {
"order": 2,
"type": "string",
"markdownDescription": "Your file name. `{{LANGUAGE}}` will be automatically replaced by each of the selected languages",
"default": ""
},
"termPreview.languages": {
"order": 3,
"type":"array",
"items": {
"type": "string"
},
"markdownDescription": "The languages you want your terms translated to (must match file name)",
"default": ["en-us"]
}
}
}
},
"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": ""
},
"devDependencies": {
"@types/vscode": "^1.63.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"eslint": "^8.6.0",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"typescript": "^4.5.4",
"@vscode/test-electron": "^2.0.3"
}
}