-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
188 lines (188 loc) · 5.2 KB
/
package.json
File metadata and controls
188 lines (188 loc) · 5.2 KB
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "db65xx",
"displayName": "65xx Debugger",
"version": "0.0.15",
"publisher": "TRobertson",
"description": "VS Code debugger for 65xx assembly and C.",
"author": {
"name": "Terrance Robertson"
},
"license": "BSD 3-Clause",
"engines": {
"vscode": "^1.66.0"
},
"icon": "images/icon.png",
"categories": [
"Debuggers",
"Programming Languages"
],
"keywords": [
"debugger",
"65816",
"65C816",
"65C02",
"6502"
],
"repository": {
"type": "git",
"url": "https://github.com/tmr4/db65xx.git"
},
"bugs": {
"url": "https://github.com/tmr4/db65xx/issues"
},
"scripts": {
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"typecheck": "tsc -p tsconfig.json --noEmit",
"esbuild-base": "esbuild ./src/extension.ts --bundle --tsconfig=./tsconfig.json --external:vscode --format=cjs --platform=node --outfile=dist/extension.js",
"watch": "npm run -S esbuild-base -- --sourcemap --sources-content=false --watch",
"build": "npm run -S esbuild-base -- --sourcemap --sources-content=false",
"package": "vsce package",
"publish": "vsce publish",
"publish-pre-release": "vsce publish --pre-release",
"vscode:prepublish": "rimraf dist && npm run -S esbuild-base -- --minify",
"test": "npm run typecheck"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "^14.14.37",
"@types/vscode": "^1.66.0",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"@vscode/debugadapter": "^1.56.0",
"@vscode/debugadapter-testsupport": "^1.56.0",
"await-notify": "^1.0.1",
"base64-js": "^1.5.1",
"esbuild": "^0.14.29",
"eslint": "^8.12.0",
"events": "^3.3.0",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"path-browserify": "^1.0.1",
"rimraf": "^3.0.2",
"typescript": "^4.6.3",
"url": "^0.11.0",
"vsce": "^2.7.0"
},
"main": "./dist/extension.js",
"activationEvents": [
"onLanguage:db65xx",
"onDebugResolve:65xx"
],
"contributes": {
"languages": [
{
"id": "db65xx",
"aliases": [
"65xx"
],
"extensions": [
".asm",
".s",
".inc",
".lst"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "db65xx",
"scopeName": "source.65xx",
"path": "./syntaxes/65xx.tmLanguage.json"
}
],
"breakpoints": [
{
"language": "db65xx"
}
],
"debuggers": [
{
"type": "65xx",
"languages": [
"db65xx"
],
"label": "65xx Debug",
"program": "./out/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to a text file.",
"default": "${workspaceFolder}/${command:AskForProgramName}"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
},
"trace": {
"type": "boolean",
"description": "Enable logging of the Debug Adapter Protocol.",
"default": true
},
"compileError": {
"type": "string",
"description": "Simulates a compile error in 'launch' request.",
"enum": [
"default",
"show",
"hide"
],
"enumDescriptions": [
"default: show fake compile error to user",
"show fake compile error to user",
"do not show fake compile error to user"
]
},
"cwd": {
"type": "string",
"description": "Absolute path to the working director.",
"default": "${cwd}"
},
"args": {
"type": "string",
"description": "Debugee arguments."
}
}
}
},
"initialConfigurations": [
{
"type": "65xx",
"request": "launch",
"name": "Debug file",
"program": "${file}",
"stopOnEntry": true,
"cwd": "${cwd}"
},
{
"type": "65xx",
"request": "launch",
"name": "Launch with args",
"program": "${cwd}",
"args": [
{
"cpu": "65816",
"sbin": "${cwd}\\hello_world.bin",
"src": "${cwd}",
"list": "${cwd}",
"input": "0xf004",
"output": "0xf001"
}
],
"stopOnEntry": true,
"cwd": "${cwd}"
}
]
}
]
}
}