-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
156 lines (156 loc) · 5.6 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
{
"name": "sammi-sef",
"displayName": "SAMMI Extension",
"description": "A language server to create SAMMI extensions - Syntax Highlight, Snippets, Hover and Autocompletion for SAMMI helpers and JavaScript",
"icon": "icon/SAMMI-128x128.png",
"author": "SebasF1349",
"sponsor": {
"url": "https://ko-fi.com/sebasf1349"
},
"license": "GPL-3.0-only",
"version": "1.2.0",
"repository": {
"type": "git",
"url": "https://github.com/SebasF1349/SAMMI-sef-VSCode"
},
"publisher": "SebasF1349",
"categories": [
"Programming Languages",
"Snippets"
],
"keywords": [
"SAMMI"
],
"engines": {
"vscode": "^1.63.0"
},
"main": "./client/out/extension.js",
"activationEvents": [],
"contributes": {
"languages": [
{
"id": "sef",
"aliases": [
"SAMMI Extension",
"sef"
],
"extensions": [
"sef"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "icon/SAMMI-32x32.png",
"dark": "icon/SAMMI-32x32.png"
}
}
],
"grammars": [
{
"language": "sef",
"scopeName": "source.sef",
"path": "./syntaxes/sef.tmLanguage.json",
"embeddedLanguages": {
"source.js": "javascript",
"text.html.basic": "HTML"
}
}
],
"snippets": [
{
"language": "sef",
"path": "./snippets/snippets.json"
}
],
"commands": [
{
"command": "sammi.installExtension",
"title": "SAMMI: Install Extension"
},
{
"command": "sammi.uninstallExtension",
"title": "SAMMI: Uninstall Extension"
},
{
"command": "sammi.extractExtension",
"title": "SAMMI: Extract Extension"
}
],
"configuration": {
"id": "SAMMI",
"title": "SAMMI Extension",
"properties": {
"SAMMI.bridge.mainPath": {
"markdownDescription": "The absolute folder path of the **Bridge** to install the extension (file name and extension included)",
"type": "string",
"scope": "machine",
"order": 0
},
"SAMMI.bridge.extraPaths": {
"markdownDescription": "Add more Bridge paths",
"scope": "machine",
"type": "array",
"order": 1,
"items": {
"type": "object",
"title": "Add new Bridge paths in each position",
"properties": {
"name": {
"type": "string",
"description": "Name of the Bridge that will be shown in the command"
},
"path": {
"type": "string",
"description": "Absolute path of the Bridge"
}
}
},
"default": [
{
"name": "",
"description": ""
}
]
},
"SAMMI.highlight.active": {
"markdownDescription": "Highlight SAMMI sections",
"type": "boolean",
"scope": "machine",
"order": 2,
"default": "true"
},
"SAMMI.highlight.color": {
"markdownDescription": "Color to Highlight SAMMI sections (only if `#SAMMI.highlight.active#` is set to true)",
"type": "string",
"scope": "machine",
"order": 3
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run webpack",
"webpack": "npm run clean && webpack --mode production --config ./client/webpack.config.js && webpack --mode production --config ./server/webpack.config.js",
"webpack:dev": "npm run clean && webpack --mode none --config ./client/webpack.config.js && webpack --mode none --config ./server/webpack.config.js",
"compile": "tsc -b",
"compile:client": "tsc -b ./client/tsconfig.json",
"compile:server": "tsc -b ./server/tsconfig.json",
"watch": "tsc -b -w",
"lint": "npm run lint:client && npm run lint:server",
"lint:client": "eslint --config ./client/.eslintrc.json ./client/src/*.ts",
"lint:server": "eslint --config ./server/.eslintrc.json ./server/src/*.ts",
"clean": "rimraf client/out && rimraf server/out",
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
},
"devDependencies": {
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"eslint": "^8.37.0",
"ts-loader": "^9.4.2",
"typescript": "^5.0.3",
"webpack": "^5.77.0",
"webpack-cli": "^5.0.1",
"merge-options": "^3.0.4",
"rimraf": "^4.4.1"
}
}