-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
166 lines (166 loc) · 4.44 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "pub-studio",
"displayName": "PUB STUDIO",
"description": "Manage your flutter/dart packages directly from the editor. Quickly find, install, update, or remove packages without touching the command line. Perform other flutter related command without touching the command line.",
"version": "0.3.0",
"publisher": "Mastersam",
"license": "MIT",
"author": {
"email": "[email protected]",
"name": "Samuel Abada",
"url": "https://github.com/mastersam07"
},
"repository": {
"type": "git",
"url": "https://github.com/Mastersam07/pub-studio"
},
"bugs": {
"url": "https://github.com/Mastersam07/pub-studio/issues",
"email": "[email protected]"
},
"engines": {
"vscode": "^1.61.0"
},
"categories": [
"Other"
],
"keywords": [
"pubspec",
"dart",
"flutter",
"pub",
"dependency",
"package",
"pubspec assist",
"yaml"
],
"homepage": "https://github.com/Mastersam07/pub-studio",
"activationEvents": [
"workspaceContains:pubspec.yaml",
"workspaceContains:*/pubspec.yaml",
"workspaceContains:*/*/pubspec.yaml",
"workspaceContains:**/pubspec.yaml"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "pub-studio.installAllDependencies",
"title": "Pub Studio: Install All Dependencies",
"arguments": ["${workspaceFolder}"]
},
{
"command": "pub-studio.removeUnusedDependencies",
"title": "Pub Studio: Remove Unused Dependencies",
"arguments": ["${workspaceFolder}"]
},
{
"command": "pub-studio.sortDependencies",
"title": "Pub Studio: Sort All Dependencies",
"arguments": ["${workspaceFolder}"]
},
{
"command": "pub-studio.addDependency",
"title": "Pub Studio: Add Dependency",
"arguments": ["${workspaceFolder}"]
},
{
"command": "pub-studio.addDevDependency",
"title": "Pub Studio: Add Dev Dependency",
"arguments": ["${workspaceFolder}"]
},
{
"command": "pub-studio.updateDependency",
"title": "Pub Studio: Update Dependency",
"arguments": ["${workspaceFolder}"]
},
{
"command": "pub-studio.removeDependency",
"title": "Pub Studio: Remove Dependency",
"arguments": ["${workspaceFolder}"]
},
{
"command": "pub-studio.findRemoveUnusedImports",
"title": "Pub Studio: Remove Unused Imports",
"arguments": ["${workspaceFolder}"]
}
],
"viewsContainers": {
"activitybar": [
{
"id": "flutterPackageManager",
"title": "Pub Studio",
"icon": "assets/icon.svg"
}
]
},
"views": {
"flutterPackageManager": [
{
"id": "packageManagerView",
"name": "Flutter Package Manager"
}
]
},
"menus": {
"view/item/context": [
{
"command": "pub-studio.updateDependency",
"when": "viewItem == dependency || viewItem == devDependency || viewItem == nestedWorkspace",
"group": "1_modification"
},
{
"command": "pub-studio.removeDependency",
"when": "viewItem == dependency || viewItem == devDependency || viewItem == nestedWorkspace",
"group": "2_modification"
}
]
}
},
"icon": "assets/icon.png",
"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",
"test": "node ./out/test/runTest.js",
"coverage": "nyc npm run test",
"deploy": "vsce publish --yarn"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/markdown-it": "^14.1.1",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/vscode": "^1.61.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-electron": "^2.3.2",
"@vscode/vsce": "^2.27.0",
"chai": "^5.1.1",
"eslint": "^8.41.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"typescript": "^5.1.3"
},
"dependencies": {
"glob": "^10.4.1",
"yaml": "^2.4.5"
},
"nyc": {
"extension": [
".ts"
],
"include": [
"src/**/*.ts"
],
"reporter": [
"html",
"text-summary"
],
"all": true,
"sourceMap": false,
"instrument": true
}
}