-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
168 lines (167 loc) · 5 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": "c6510-asm",
"displayName": "c6510 Assembler",
"description": "Language support for c6510 assembler (C64)",
"version": "1.2.0",
"publisher": "roblunx",
"author": {
"name": "Robert Lundquist (Krikkit)"
},
"license": "MIT",
"icon": "images/c6510-128x128.png",
"engines": {
"vscode": "^1.58.0"
},
"repository": {
"type": "git",
"url": "https://github.com/roblunx/vscode-c6510-asm"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:c6510",
"onCommand:c6510-asm.buildCurrent",
"onCommand:c6510-asm.buildAndRunCurrent"
],
"main": "./client/out/extension.js",
"contributes": {
"languages": [
{
"id": "c6510",
"aliases": [
"c6510-asm",
"c6510"
],
"extensions": [
".s",
".i",
".asm",
".inc"
],
"configuration": "./language-configuration.json"
},
{
"id": "c6510-sq",
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "c6510",
"scopeName": "source.c6510",
"path": "./syntaxes/c6510.tmLanguage.json",
"embeddedLanguages": {
"source.lua": "lua",
"meta.embedded.line.lua": "lua",
"meta.embedded.block.lua": "lua",
"source.c6510-sq": "c6510-sq",
"meta.embedded.line.c6510-sq": "c6510-sq",
"meta.embedded.block.c6510-sq": "c6510-sq"
}
},
{
"language": "c6510-sq",
"scopeName": "source.c6510-sq",
"path": "./syntaxes/squirrel.tmLanguage.json"
}
],
"commands": [
{
"command": "c6510-asm.buildCurrent",
"title": "c6510 Asm: Build Current Source File"
},
{
"command": "c6510-asm.buildAndRunCurrent",
"title": "c6510 Asm: Build and Run Current Source File"
}
],
"menus": {
"commandPalette": [
{
"command": "c6510-asm.buildCurrent",
"when": "editorLangId == c6510"
},
{
"command": "c6510-asm.buildAndRunCurrent",
"when": "editorLangId == c6510"
}
]
},
"configuration": {
"title": "c6510 Asm",
"properties": {
"c6510-asm.buildFile": {
"type": "string",
"default": "build.json",
"description": "Name of the file describing how to build the source in the directory of the currently open file. This file also specifies paths to search for included files when looking for definitions/references."
},
"c6510-asm.assembler.executablePath": {
"type": "string",
"description": "Path to the c6510 binary. Unless specified it is expected to be found in the default search path."
},
"c6510-asm.assembler.clearPreviousOutput": {
"type": "boolean",
"default": false,
"description": "When enabled this will clear the output from previous run every time."
},
"c6510-asm.assembler.includePaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of strings specifying global include search paths, i.e. directories that are always considered when reading included source files while searching for definitions. E.g. the directory with the c6510 provided include files."
},
"c6510-asm.assembler.option.outputFile": {
"type": "string",
"default": "program.prg",
"description": "Specifies the name and optionally path of the resulting output PRG file."
},
"c6510-asm.assembler.option.symbolFile": {
"type": "string",
"default": "program.sym",
"description": "Specifies the name and optionally path of a symbol file in VICE format resulting from building the source files."
},
"c6510-asm.assembler.option.additionalSources": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of strings of paths of additional implicit source files to be processed before the current source file is processed."
},
"c6510-asm.assembler.option.presetDefines": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of strings of additional implicit constant definitions before the source files are processed."
},
"c6510-asm.assembler.commandLine": {
"type": "string",
"default": "${executablePath} ${includes} ${presets} ${additionals} -y ${symbolPath} -s ${outputPath} - + ${sourceFile}",
"description": "Command line used to invoke assembler. Placeholder variables may be used."
},
"c6510-asm.emulator.commandLine": {
"type": "string",
"default": "x64 -model c64c -autostartprgmode 1 ${outputPath}",
"description": "Command line used to invoke emulator. Placeholder variables may be used."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -watch ./client ./server",
"pretest": "npm run compile && npm run lint",
"lint": "eslint ./client/src ./server/src --ext ts",
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
},
"devDependencies": {
"@types/node": "14.x",
"eslint": "^7.27.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"typescript": "^4.3.2"
}
}