-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
127 lines (127 loc) · 3.73 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
{
"name": "p3-assembly",
"displayName": "P3 Assembly",
"description": "VS Code language support for the P3 Assembly programming language, the language used in the fictitious processor P3, created at IST for educational purposes.",
"version": "1.2.2",
"license": "MIT",
"engines": {
"vscode": "^1.43.0"
},
"keywords": [
"p3",
"assembly",
"processor",
"ist",
"acomp"
],
"icon": "media/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/guipenedo/P3-Assembly.git"
},
"publisher": "guipenedo",
"categories": [
"Programming Languages"
],
"author": {
"name": "Guilherme Penedo"
},
"contributors": [
{
"name": "José Afonso Neves"
}
],
"activationEvents": [
"onLanguage:p3",
"onCommand:extension.setAssembler",
"onCommand:extension.setSimulator",
"onCommand:extension.runAssembler",
"onCommand:extension.runAssembler&Simulator"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "p3",
"aliases": [
"P3 Assembly",
"p3as"
],
"extensions": [
".as"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "p3",
"scopeName": "source.p3",
"path": "./syntaxes/p3.tmLanguage.json"
}
],
"commands": [
{
"command": "extension.setAssembler",
"title": "Selecionar Assembler",
"category": "P3"
},
{
"command": "extension.setSimulator",
"title": "Selecionar Simulador",
"category": "P3"
},
{
"command": "extension.runAssembler",
"title": "Assemblar ficheiro atual",
"category": "P3"
},
{
"command": "extension.runAssembler&Simulator",
"title": "Assemblar e simular ficheiro atual",
"category": "P3"
}
],
"menus": {
"editor/context": [
{
"command": "extension.runAssembler",
"group": "P3@1",
"when": "editorTextFocus && editorLangId == p3"
},
{
"command": "extension.runAssembler&Simulator",
"group": "P3@2",
"when": "editorTextFocus && editorLangId == p3"
}
]
},
"keybindings": [
{
"command": "extension.runAssembler&Simulator",
"key": "ctrl+shift+R",
"mac": "cmd+shift+R",
"when": "editorTextFocus && editorLangId == p3"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"syntax": "npx js-yaml syntaxes/p3.tmLanguage.yaml > syntaxes/p3.tmLanguage.json"
},
"devDependencies": {
"js-yaml": "^3.13.1",
"@types/node": "^8.10.25",
"@types/vscode": "^1.34.0",
"tslint": "^5.16.0",
"typescript": "^3.4.5",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^2.18.0",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"vscode-test": "^1.3.0"
}
}