-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (130 loc) · 3.42 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
{
"name": "nextpilot-vscode-extension",
"displayName": "NextPilot VScode Extension",
"description": "An integrated development environment for NextPilot",
"license": "BSD-3-Clause",
"version": "0.0.1",
"icon": "assets/logo.jpg",
"homepage": "https://www.nextpilot.org",
"keywords": [
"nextpilot",
"rt-thread",
"autopilot",
"pixhawk",
"stm32"
],
"engines": {
"vscode": "^1.94.0"
},
"publisher": "NextPilot",
"author": {
"name": "NextPilot Development Team"
},
"repository": {
"type": "git",
"url": "https://github.com/nextpilot/nextpilot-vscode-extension"
},
"bugs": {
"url": "https://github.com/nextpilot/nextpilot-vscode-extension/issues"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:nextpilot.sayHello",
"onCommand:nextpilot.showHome",
"workspaceContains:**/rtconfig.h"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "nextpilot.sayHello",
"title": "NextPilot: Hello World"
},
{
"command":"nextpilot.showHome",
"title": "NextPilot: Show Home"
},
{
"command": "nextpilot.project.refresh",
"title": "refresh",
"icon": {
"light": "",
"dark": ""
}
},
{
"command": "nextpilot.project.build",
"title":"Build"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "nextpilot-explorer",
"title": "NextPilot",
"icon": "assets/logo.svg"
}
]
},
"views": {
"nextpilot-explorer": [
{
"id": "nextpilot-explorer.ProjectTasks",
"name": "Project Tasks",
"type": "tree"
},
{
"id": "nextpilot-explorer.QuickAccess",
"name": "Quick Access",
"type": "tree"
}
]
},
"viewsWelcome": [
{
"view": "nextpilot-explorer.ProjectTasks",
"contents": "No NextPilot project have opened.\nYou can open a existing NextPilot Project (a folder contains [rtconfig.h](https://github.com/nextpilot) file). \n [Pick a Folder](command:workbench.action.files.openFolder)\nYou can create a new NextPilot Project or explore examples using NextPilot Home.\n[Create New Project](command)"
}
],
"keybindings":{
"command": "nextpilot.project.build",
"key": "ctr+shift+b"
},
"configuration": {
"type": "object",
"title": "NextPilot VScode Extension",
"properties": {
"nextpilot.ToolchainInstallLocation": {
"type": "string",
"scope": "resource",
"markdownDescription": "nextpilot toolchain install directory [`example: c:/nextpilot-windows-toolchain`]",
"default": "c:/nextpilot-windows-toolchain"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.8",
"@types/node": "20.x",
"@types/vscode": "^1.94.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.11.1",
"typescript": "^5.6.2"
},
"dependencies": {
"vscode-nls": "^5.2.0"
}
}