forked from gamedilong/anes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 2.76 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": "anes",
"displayName": "小霸王",
"description": "vscode 小霸王",
"publisher": "gamedilong",
"version": "0.0.2",
"repository":"https://github.com/gamedilong/anes-repository",
"engines": {
"vscode": "^1.47.0"
},
"icon":"logo.png",
"categories": [
"Other"
],
"activationEvents": [
"onCommand:anes.openGameBox",
"onCommand:anes.addRom",
"onCommand:anes.deleteRom",
"onCommand:anes.renameRom",
"onCommand:anes.downloadRom",
"onView:romLocal",
"onView:romRemote"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "anes.openGameBox",
"title": "openGameBox"
},
{
"command": "anes.addRom",
"title": "addRom",
"icon": "$(new-file)"
},
{
"command": "anes.refreshRemote",
"title": "refresh",
"icon": "$(search-refresh)"
},
{
"command": "anes.renameRom",
"title": "rename"
},
{
"command": "anes.deleteRom",
"title": "delete"
},
{
"command": "anes.downloadRom",
"title": "download"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "anes",
"title": "小霸王",
"icon": "resources/anes.svg"
}
]
},
"views": {
"anes": [
{
"id": "romLocal",
"name": "local"
},
{
"id": "romRemote",
"name": "remote"
}
]
},
"menus": {
"view/title": [
{
"command": "anes.addRom",
"when": "view == romLocal",
"group": "navigation@1"
},
{
"command": "anes.refreshRemote",
"when": "view == romRemote",
"group": "navigation@1"
}
],
"view/item/context": [
{
"command": "anes.deleteRom",
"when": "view == romLocal",
"group": "anes@1"
},
{
"command": "anes.renameRom",
"when": "view == romLocal",
"group": "anes@1"
},
{
"command": "anes.downloadRom",
"when": "view == romRemote",
"group": "anes@2"
}
]
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"dependencies": {
"compressing": "^1.5.1",
"jsnes": "git://github.com/bfirsh/jsnes.git",
"request": "^2.88.2",
"unzip": "^0.1.11"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^14.0.27",
"@types/vscode": "^1.47.0",
"eslint": "^7.6.0",
"glob": "^7.1.6",
"mocha": "^8.0.1",
"typescript": "^3.8.3",
"vscode-test": "^1.4.0"
}
}