-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
168 lines (168 loc) · 4.43 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "jsonify",
"displayName": "jsonify",
"description": "Converts SVG and HTML files to SharePoint List Formatting JSON",
"version": "0.5.0",
"engines": {
"vscode": "^1.85.0"
},
"preview": true,
"categories": [
"Formatters"
],
"keywords": [
"json",
"svg",
"sharepoint",
"m365",
"list",
"formatting",
"horsescript",
"column formatting",
"view formatting",
"conditional formatting",
"neigh",
"warrior horses"
],
"repository": {
"type": "git",
"url": "https://github.com/thechriskent/jsonify"
},
"author": {
"name": "Chris Kent"
},
"icon": "assets/jsonify.png",
"pricing": "Free",
"license": "MIT",
"publisher": "thechriskent",
"activationEvents": [
"onLanguage:json"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "jsonify.toFormat_Editor",
"title": "Convert to SP List Format",
"category": "jsonify"
},
{
"command": "jsonify.toFormat_Explorer",
"title": "Convert to SP List Format",
"category": "jsonify"
}
],
"menus": {
"editor/context": [
{
"command": "jsonify.toFormat_Editor",
"group": "1_modification",
"when": "resourceLangId == svg || resourceLangId == html || resourceFilename =~ /.*\\.(svg|htm|html)$/"
}
],
"explorer/context": [
{
"command": "jsonify.toFormat_Explorer",
"group": "1_modification",
"when": "resourceLangId == svg || resourceLangId == html || resourceFilename =~ /.*\\.(svg|htm|html)$/"
}
],
"commandPalette": [
{
"command": "jsonify.toFormat_Editor",
"when": "resourceLangId == svg || resourceLangId == html || resourceFilename =~ /.*\\.(svg|htm|html)$/"
},
{
"command": "jsonify.toFormat_Explorer",
"when": "false"
}
]
},
"configuration": {
"title": "jsonify",
"properties": {
"jsonify.liveUpdates": {
"type": "boolean",
"default": true,
"description": "When enabled, changes to the source file will automatically show up in the output JSON window."
}
}
},
"languages": [
{
"id": "horsescript",
"aliases": [
"HorseScript"
],
"extensions": [
".horse",
".neigh"
],
"configuration": "./horsescript-language-configuration.json",
"icon": {
"light": "./assets/HorseScript.svg",
"dark": "./assets/HorseScript.svg"
}
}
],
"grammars": [
{
"language": "horsescript",
"scopeName": "source.horsescript",
"path": "./syntaxes/horsescript.tmLanguage.json"
},
{
"scopeName": "meta.embedded.source.json.horsescript",
"path": "./syntaxes/horsescript-json.tmLanguage.json",
"injectTo": [
"source.json"
],
"embeddedLanguages": {
"meta.embedded.source.json.horsescript": "horsescript"
}
}
],
"themes": [
{
"label": "Warrior Horse",
"uiTheme": "vs-dark",
"path": "./themes/warriorhorse-dark-color-theme.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"copy-test-data": "shx cp -r src/test/data out/test",
"pretest": "npm run compile-tests && npm run compile && npm run lint && npm run copy-test-data",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"generate-themes": "node ./src/themes/generate-themes.js"
},
"devDependencies": {
"@types/css-tree": "^2.3.6",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.56.0",
"shx": "^0.3.4",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.90.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"css-tree": "2.3.1",
"node-html-parser": "^6.1.12",
"vscode-oniguruma": "^2.0.1",
"vscode-textmate": "^9.1.0"
}
}