-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
136 lines (136 loc) · 3.98 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
{
"name": "chuck",
"displayName": "ChucK",
"description": "Syntax highlighting for the ChucK langauge (http://chuck.stanford.edu/)",
"version": "1.0.0",
"publisher": "forrcaho",
"author": {
"name": "Forrest Cahoon"
},
"license": "MIT",
"homepage": "https://github.com/forrcaho/vscode-chuck",
"repository": {
"type": "git",
"url": "https://github.com/forrcaho/vscode-chuck"
},
"bugs": {
"url": "https://github.com/forrcaho/vscode-chuck/issues"
},
"icon": "chuck.png",
"engines": {
"vscode": "^1.94.0"
},
"categories": [
"Programming Languages"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.chuckPlayActiveDocument",
"title": "ChucK: Play Active Document"
},
{
"command": "extension.chuckKillChuckProcess",
"title": "ChucK: Terminate any running ChucK subprocesses"
}
],
"configuration": {
"type": "object",
"title": "ChucK",
"properties": {
"chuck.executable": {
"type": "string",
"default": "chuck",
"description": "The chuck executable"
},
"chuck.enableSyntaxCheck": {
"type": "boolean",
"default": false,
"description": "Boolean to enable syntax check."
},
"chuck.syntaxCheckArgs": {
"type": "array",
"default": [
"--color:off",
"--syntax"
],
"description": "Arguments to chuck when used for syntax checking. An array of strings, each element an argument including the leading dash."
},
"chuck.extendErrorRegion": {
"type": "boolean",
"default": false,
"description": "Boolean to extend the highlighted error region backwards from what chuck reports to just past the previous statement end."
},
"chuck.playArgs": {
"type": "array",
"default": [],
"description": "Arguments to chuck when used for playing the current file. An array of strings, each element an argument including the leading dash."
},
"chuck.saveSilentlyOnPlay": {
"type": "boolean",
"default": false,
"description": "Save without prompting before playing the current file."
}
}
},
"grammars": [
{
"language": "chuck",
"scopeName": "source.chuck",
"path": "./syntaxes/chuck.tmLanguage.json"
}
],
"languages": [
{
"id": "chuck",
"aliases": [
"ChucK",
"chuck"
],
"extensions": [
".ck"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./icons/chuck_icon_128x128.png",
"dark": "./icons/chuck_icon_128x128.png"
}
}
],
"keybindings": [
{
"command": "extension.chuckPlayActiveDocument",
"key": "alt+.",
"when": "editorLangId == chuck && editorFocus"
},
{
"command": "extension.chuckKillChuckProcess",
"key": "alt+`",
"when": "editorLangId == chuck && editorFocus"
}
]
},
"scripts": {
"vscode:prepublish": "npm run -S esbuild-base -- --minify",
"esbuild-base": "rimraf out && esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run -S esbuild-base -- --sourcemap",
"esbuild-watch": "npm run -S esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/mocha": "^10.0.9",
"@types/node": "^22.7.7",
"@types/vscode": "^1.94.0",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.10.0",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.24.0",
"eslint": "^9.13.0",
"globals": "^15.11.0",
"rimraf": "^6.0.1",
"typescript": "^5.6.3"
}
}