-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
124 lines (124 loc) · 2.9 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "sxml",
"displayName": "Scholarly XML",
"publisher": "raffazizzi",
"description": "XML validator (RELAX NG only) and autocomplete with features typically needed by academic encoding projects.",
"version": "0.3.0",
"engines": {
"vscode": "^1.69.0"
},
"icon": "images/sxml_logo.png",
"categories": [
"Linters",
"Other"
],
"keywords": [
"XML",
"RELAX NG",
"text encoding",
"text encoding initiative",
"PreTeXt",
"digital humanities",
"music encoding",
"music encoding initiative",
"ODD",
"TEI",
"MEI"
],
"repository": {
"type": "git",
"url": "https://github.com/raffazizzi/vscode-sxml"
},
"activationEvents": [
"onCommand:sxml.validate",
"onLanguage:xml",
"onLanguage:pretext",
"onLanguage:odd"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "sxml.validate",
"title": "Validate XML with associated RELAX NG schema.",
"category": "Scholarly XML",
"icon": {
"dark": "images/sxml_logo.svg",
"light": "images/sxml_logo.svg"
}
},
{
"command": "sxml.wrapWithEl",
"title": "Wrap selection with element",
"category": "Scholarly XML"
}
],
"keybindings": [
{
"key": "ctrl+e",
"mac": "cmd+e",
"command": "sxml.wrapWithEl"
},
{
"key": "cmd+e",
"command": "sxml.wrapWithEl"
}
],
"configuration": [
{
"title": "Scholarly XML",
"properties": {
"sxml.languagesToCheck": {
"type":"array",
"items": {
"type":"string"
},
"default":["xml","pretext"],
"description": "Specify any additional languages on which Scholarly XML should activate."
},
"sxml.defaultSchemas": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"default": {
"ptx": "https://raw.githubusercontent.com/PreTeXtBook/pretext/master/schema/pretext.rng",
"odd": "https://vault.tei-c.org/P5/current/xml/tei/custom/schema/relaxng/tei_odds.rng"
},
"markdownDescription": "Dictionary of `\"language\": \"schema\"` to use as the default RELAX NG schema for files with that language or extension."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.2",
"@types/vscode": "^1.69.0",
"cross-fetch": "^3.1.5",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"saxes": "^6.0.0",
"ts-loader": "^9.3.1",
"tslint": "^6.1.3",
"typescript": "^4.7.4",
"vscode-test": "^1.6.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"file-url": "^4.0.0",
"salve-annos": "^1.2.1"
}
}