forked from microsoft/vscode-webview-ui-toolkit-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 2.08 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
{
"name": "notepad",
"displayName": "notepad",
"description": "A sample extension that showcases the Webview UI Toolkit for VS Code alongside the VS Code TreeView and Webview API",
"version": "0.0.1",
"engines": {
"vscode": "^1.59.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:notepad.notesList"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "notepad.createNote",
"title": "Notepad: Create a note",
"icon": "$(add)"
},
{
"command": "notepad.deleteNote",
"title": "Notepad: Delete note",
"icon": "$(trash)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "notepad",
"title": "Notepad",
"icon": "$(notebook)"
}
]
},
"views": {
"notepad": [
{
"id": "notepad.notesList",
"name": "My Notes",
"type": "tree",
"visibility": "visible"
}
]
},
"viewsWelcome": [
{
"view": "notepad.notesList",
"contents": "No notes yet!\n[Create a note](command:notepad.createNote)"
}
],
"menus": {
"view/title": [
{
"command": "notepad.createNote",
"group": "navigation@1"
}
],
"view/item/context": [
{
"command": "notepad.deleteNote",
"group": "inline"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/node": "^12.11.7",
"@types/uuid": "^8.3.1",
"@types/vscode": "^1.59.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
},
"dependencies": {
"@vscode/webview-ui-toolkit": "^1.0.0",
"uuid": "^8.3.2"
}
}