-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
156 lines (156 loc) · 4.92 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": "nand2tetris",
"displayName": "Nand2Tetris Tools",
"description": "A Tools Set for the Open Course Nand2Tetris.",
"version": "1.1.1",
"icon": "images/icon.png",
"publisher": "leafvmaple",
"engines": {
"vscode": "^1.17.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/leafvmaple/vscode-nand2tetris.git"
},
"activationEvents": [
"onCommand:nand2tetris.run",
"onCommand:nand2tetris.hardware",
"onCommand:nand2tetris.assembler",
"onCommand:nand2tetris.cpu",
"onCommand:nand2tetris.stop",
"onCommand:nand2tetris.zip"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "nand2tetris.run",
"title": "Nand2Tetris: Run Code",
"icon": "./images/button.png"
},
{
"command": "nand2tetris.hardware",
"title": "Nand2Tetris: Open Hardware Simulator"
},
{
"command": "nand2tetris.assembler",
"title": "Nand2Tetris: Open Assembler Simulator"
},
{
"command": "nand2tetris.cpu",
"title": "Nand2Tetris: Open CPU Simulator"
},
{
"command": "nand2tetris.stop",
"title": "Nand2Tetris: Stop Running"
},
{
"command": "nand2tetris.zip",
"title": "Nand2Tetris: Compress course source to a zip"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == hdl && config.nand2tetris.showRunIconInEditorTitleMenu",
"command": "nand2tetris.run",
"group": "navigation"
},
{
"when": "resourceLangId == asm && config.nand2tetris.showRunIconInEditorTitleMenu",
"command": "nand2tetris.run",
"group": "navigation"
}
]
},
"configuration": {
"type": "object",
"title": "Nand2Tetris configuration",
"properties": {
"nand2tetris.showRunIconInEditorTitleMenu": {
"type": "boolean",
"default": true,
"description": "Whether to show 'HDL Run Code' icon in editor title menu.",
"scope": "resource"
},
"nand2tetris.runInTerminal": {
"type": "boolean",
"default": false,
"description": "Whether to run code in Integrated Terminal.",
"scope": "resource"
},
"nand2tetris.clearPreviousOutput": {
"type": "boolean",
"default": false,
"description": "Whether to clear previous output before each run.",
"scope": "resource"
},
"nand2tetris.preserveFocus": {
"type": "boolean",
"default": true,
"description": "Whether to preserve focus on code editor after code run is triggered.",
"scope": "resource"
}
}
},
"languages": [
{
"id": "hdl",
"aliases": [
"HDL",
"hdl"
],
"extensions": [
".hdl"
],
"configuration": "./language-configuration.json"
},
{
"id": "asm",
"aliases": [
"ASM"
],
"extensions": [
".asm"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "hdl",
"scopeName": "source.hdl",
"path": "./syntaxes/hdl.tmLanguage.json"
}
],
"snippets": [
{
"language": "hdl",
"path": "./snippets/snippets.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"tslint": "tslint -t verbose src/**/*.ts"
},
"dependencies": {
"tree-kill": "^1.1.0",
"compressing": "^1.4.0"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"tslint": "^5.8.0",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
}
}