-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 4.32 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 4.32 KB
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
{
"name": "vscode-mbed",
"displayName": "vscode-mbed",
"description": "VSCode extension for ARMmbed",
"version": "0.2.0",
"publisher": "semonec",
"license": "Apache-2.0",
"engines": {
"vscode": "^1.17.0"
},
"keywords": [
"IoT",
"embedded",
"firmware",
"mbed",
"arm"
],
"author": {
"name": "Semoon Park",
"email": "semonec@gmail.com",
"url": "https://github.com/semonec/vscode_extension_mbed"
},
"icon": "images/icon.png",
"bugs": {
"url": "https://github.com/semonec/vscode_extension_mbed/issues",
"email": "semonec@gmail.com"
},
"homepage": "https://github.com/semonec/vscode_extension_mbed/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/semonec/vscode_extension_mbed.git"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.mbed.new",
"workspaceContains:**/.mbed",
"workspaceContains:**/.mbed_settings.py",
"workspaceContains:**/mbed_app.json"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "extension.mbed.new",
"title": "MBED: New"
},
{
"command": "extension.mbed.compile",
"title": "MBED: Compile"
},
{
"command": "extension.mbed.flash",
"title": "MBED: Flash"
},
{
"command": "extension.mbed.serialMonitor",
"title": "MBED: Open serial monitor"
}
],
"configuration": {
"type": "object",
"title": "VS Code mbed configuration",
"properties": {
"mbed.mcu": {
"type": "string",
"description": "if 'detect' or 'auto' is selected, then Mbed CLI detectes the connected target (argument for -m <MCU>)",
"default": "auto"
},
"mbed.toolchain": {
"type": "string",
"description": "Select a toolchain (argument for -t <TOOLCHAIN>)",
"enum": [
"ARM",
"GCC_ARM",
"IAR"
],
"enumDescription": [
"Arm Compiler5",
"GNU Arm Embedded (default)",
"IAR Embedded Workbench for Arm"
],
"default": "GCC_ARM"
},
"mbed.source": {
"type": "string",
"description": "Select the source directory. The default is '.' (the current directory).\nYou can specify multiple source locations, even outside the program tree. (argument for --source <SOURCE>)",
"default": "."
},
"mbed.build": {
"type": "string",
"description": "Select the build directory, Default: BUILD/ inside your program root. (argument for --build <BUILD>",
"default": "BUILD/"
},
"mbed.profile": {
"type": "string",
"description": "Select a path to a build profile configuration file (argument for --profile <PATH_TO_BUILD_PROFILE>",
"default": ""
},
"mbed.library": {
"type": "boolean",
"description": "Compile the code as a static .a/.ar library",
"default": false
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.5.3",
"vscode": "^1.1.5",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42",
"spawn-command": "0.0.2-1"
},
"dependencies": {
"spawn-command": "0.0.2-1"
},
"extensionDependencies": [
"ms-vscode.cpptools"
]
}