-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.2 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 3.2 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
{
"name": "visual-bikeshed",
"displayName": "Visual Bikeshed",
"description": "Language support, autocompletion, side-by-side preview and other features for Bikeshed spec authors.",
"version": "0.0.3",
"engines": {
"vscode": "^1.92.0"
},
"author": "Alex N. Jose <alexnj@gmail.com> (https://alexnj.com/)",
"repository": "https://github.com/alexnj/visual-bikeshed",
"license": "MIT",
"publisher": "alexnj",
"icon": "visual-bikeshed.png",
"categories": [
"Programming Languages",
"Snippets",
"Language Packs"
],
"keywords": [
"bikeshed",
"spec",
"webref",
"w3c"
],
"main": "./client/out/extension",
"contributes": {
"commands": [
{
"command": "extension.showBikeshedPreview",
"title": "Open Bikeshed Preview"
}
],
"languages": [
{
"id": "bikeshed",
"aliases": [
"Bikeshed",
"bikeshed"
],
"extensions": [
".bs"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "bikeshed",
"scopeName": "source.bikeshed",
"path": "./syntaxes/bikeshed.tmLanguage.json"
}
],
"configuration": {
"type": "object",
"title": "Visual Bikeshed Configuration",
"properties": {
"visualBikeshed.autoUpdate": {
"type": "boolean",
"default": true,
"description": "Automatically update the preview when the document changes."
},
"visualBikeshed.previewTitle": {
"type": "string",
"default": "Bikeshed Preview",
"description": "Title of the preview panel."
},
"visualBikeshed.compilerOption": {
"type": "string",
"enum": [
"URL",
"Shell"
],
"default": "URL",
"description": "Bikeshed compiler option: URL or Path."
},
"visualBikeshed.commandPath": {
"type": "string",
"default": "bikeshed",
"description": "Path to the Bikeshed command."
},
"visualBikeshed.processorUrl": {
"type": "string",
"default": "https://www.w3.org/publications/spec-generator/",
"description": "URL of the Bikeshed processor."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"test": "vscode-test",
"package": "vsce package"
},
"devDependencies": {
"@vscode/vsce": "^3.2.1",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.92.0",
"@types/xml2js": "^0.4.14",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"eslint": "^8.57.0",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5"
}
}