-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.15 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 3.15 KB
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
116
117
118
{
"name": "outlinetext",
"displayName": "OutlineText",
"description": "OutlineText language support with LSP and WASM parser for Visual Studio Code.",
"version": "0.2.0",
"preview": true,
"publisher": "ContentsViewer",
"icon": "./images/outlinetext.png",
"repository": {
"type": "git",
"url": "https://github.com/ContentsViewer/vscode-outlinetext"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Programming Languages"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "outlinetext",
"aliases": [
"OutlineText",
"outlinetext"
],
"extensions": [
".otxt",
".content"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./images/outlinetext.png",
"dark": "./images/outlinetext.png"
}
}
],
"grammars": [
{
"language": "outlinetext",
"scopeName": "text.html.outlinetext",
"path": "./syntaxes/outlinetext.tmLanguage.json"
}
],
"commands": [
{
"command": "outlinetext.showPreview",
"title": "Show Preview",
"category": "OutlineText",
"icon": "$(preview)"
}
],
"menus": {
"editor/title": [
{
"command": "outlinetext.showPreview",
"when": "resourceLangId == outlinetext",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "outlinetext.showPreview",
"when": "resourceLangId == outlinetext"
}
]
},
"configuration": {
"type": "object",
"title": "OutlineText",
"properties": {
"outlinetext.preview.autoRefresh": {
"type": "boolean",
"default": true,
"description": "Auto refresh preview on document change"
},
"outlinetext.parser.enableCache": {
"type": "boolean",
"default": true,
"description": "Enable parse result cache"
},
"outlinetext.diagnostics.enabled": {
"type": "boolean",
"default": true,
"description": "Enable syntax error diagnostics"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ && npm run compile:server",
"compile:server": "tsc -p ./server/tsconfig.json",
"watch": "tsc -watch -p ./ & npm run watch:server",
"watch:server": "tsc -w -p ./server/tsconfig.json",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src server/src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package",
"publish": "vsce publish"
},
"dependencies": {
"vscode-languageclient": "^9.0.1",
"vscode-languageserver": "^9.0.1",
"vscode-languageserver-textdocument": "^1.0.11"
},
"devDependencies": {
"@types/vscode": "^1.80.0",
"@types/node": "20.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.41.0",
"typescript": "^5.1.3",
"@vscode/test-electron": "^2.3.2",
"@vscode/vsce": "^2.19.0"
}
}