-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
139 lines (139 loc) · 4.36 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
{
"name": "kinx-language-server",
"displayName": "Kinx VSCode Extension with Language Server",
"version": "0.0.2",
"author": "Kray-G",
"publisher": "Kray-G",
"license": "MIT",
"icon": "client/images/kinx.png",
"description": "Kinx VSCode Extension with Language Server",
"repository": {
"type": "git",
"url": "https://github.com/Kray-G/kinx-language-server"
},
"bugs": {
"url": "https://github.com/Kray-G/kinx-language-server/issues"
},
"engines": {
"vscode": "^1.52.1"
},
"main": "./client/out/extension",
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:kinx"
],
"contributes": {
"commands": [
{
"command": "kinx.run",
"title": "Run Kinx Script",
"category": "Kinx",
"icon": {
"light": "client/images/icons/light/runkinx.svg",
"dark": "client/images/icons/dark/runkinx.svg"
}
},
{
"command": "kinx.runRange",
"title": "Run Kinx Script (Range)",
"category": "Kinx"
},
{
"command": "kinx.runArgs",
"title": "Run Kinx Script w/ args",
"category": "Kinx"
},
{
"command": "kinx.runRangeArgs",
"title": "Run Kinx Script w/ args (Range)",
"category": "Kinx"
}
],
"menus": {
"editor/title": [{
"when": "resourceLangId == kinx",
"command": "kinx.run",
"group": "navigation"
}]
},
"keybindings": [
{
"command": "kinx.run",
"key": "ctrl+r",
"mac": "cmd+r",
"when": "editorTextFocus"
},
{
"command": "kinx.runRange",
"key": "ctrl+shift+r",
"mac": "cmd+shift+r",
"when": "editorTextFocus"
},
{
"command": "kinx.runArgs",
"key": "ctrl+e",
"mac": "cmd+e",
"when": "editorTextFocus"
},
{
"command": "kinx.runRangeArgs",
"key": "ctrl+shift+e",
"mac": "cmd+shift+e",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Kinx",
"properties": {
"kinx.execPath": {
"type": "string",
"description": "Specify where the Kinx executable.",
"scope": "machine-overridable"
}
}
},
"languages": [
{
"id": "kinx",
"aliases": [
"Kinx",
"kinx"
],
"extensions": [
".kx"
],
"configuration": "./client/kinx-language-configuration.json"
}
],
"grammars": [
{
"language": "kinx",
"scopeName": "source.kinx",
"path": "./client/syntaxes/kinx.tmLanguage.json"
}
]
},
"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",
"clean": "rimraf client/out && rimraf server/out",
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
},
"devDependencies": {
"@types/node": "^14.14.22",
"eslint": "^7.18.0",
"merge-options": "^3.0.4",
"rimraf": "^3.0.2",
"ts-loader": "^8.0.14",
"typescript": "^4.1.2",
"webpack": "^5.16.0",
"webpack-cli": "^4.4.0"
}
}