-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
140 lines (140 loc) · 3.85 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
{
"name": "robotinventor",
"displayName": "robotinventor",
"description": "A Microsoft Visual Studio Code extension to program LEGO® Mindstorms® Robot Inventor in MicroPython",
"version": "1.0.0",
"publisher": "robmosca",
"repository": "https://github.com/robmosca/robotinventor-vscode",
"engines": {
"vscode": "^1.53.0",
"node": "^18.18.2"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:ri5devBrowser",
"onCommand:ri5devBrowser.action.connectDevice"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "ri5devBrowser.action.connectDevice",
"title": "Connect to a device",
"category": "Robot Inventor"
},
{
"command": "ri5devBrowser.action.disconnectDevice",
"title": "Disconnect",
"category": "Robot Inventor"
},
{
"command": "ri5devBrowser.runProgram",
"title": "Run program",
"category": "Robot Inventor"
},
{
"command": "ri5devBrowser.stopProgram",
"title": "Stop program",
"category": "Robot Inventor"
},
{
"command": "ri5devBrowser.moveProgram",
"title": "Move program",
"category": "Robot Inventor"
},
{
"command": "ri5devBrowser.removeProgram",
"title": "Remove program",
"category": "Robot Inventor"
},
{
"command": "ri5devBrowser.uploadProgram",
"title": "Upload program",
"category": "Robot Inventor"
}
],
"menus": {
"view/item/context": [
{
"command": "ri5devBrowser.runProgram",
"when": "viewItem == fullProgramSlot"
},
{
"command": "ri5devBrowser.stopProgram",
"when": "viewItem == device"
},
{
"command": "ri5devBrowser.action.disconnectDevice",
"when": "viewItem == device"
},
{
"command": "ri5devBrowser.moveProgram",
"when": "viewItem == fullProgramSlot"
},
{
"command": "ri5devBrowser.removeProgram",
"when": "viewItem == fullProgramSlot"
},
{
"command": "ri5devBrowser.uploadProgram",
"when": "viewItem == fullProgramSlot || viewItem == emptyProgramSlot"
}
]
},
"views": {
"explorer": [
{
"id": "ri5devBrowser",
"name": "Robot Inventor Device Browser"
}
]
},
"viewsWelcome": [
{
"view": "ri5devBrowser",
"contents": "No LEGO® Mindstorms® Robot Inventor hub found [learn more](https://www.lego.com/en-es/product/robot-inventor-51515).\n[Add hub](command:ri5devBrowser.action.connectDevice)"
}
]
},
"scripts": {
"clean": "rm -rf ./out",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"package": "vsce package",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"typecheck": "tsc --noEmit -p ./",
"vscode:prepublish": "npm run compile",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.14",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.3",
"@types/serialport": "^8.0.1",
"@types/sinon": "^17.0.2",
"@types/sinon-chai": "^3.2.12",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vscode/test-electron": "^2.3.8",
"chai": "^4.2.0",
"eslint": "^8.55.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vsce": "^2.15.0"
},
"dependencies": {
"serialport": "^12.0.0"
}
}