-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
159 lines (159 loc) · 4.64 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
{
"name": "dart-build-runner-tools",
"displayName": "build_runner Tools",
"description": "Run build_runner commands directly from VS Code’s context menu, Command Palette, and keyboard shortcuts.",
"icon": "img/logo.png",
"version": "1.2.4",
"publisher": "nivisi",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nivisi/vscode-dart-build-runner-tools"
},
"author": {
"name": "Nikita Sirovskiy"
},
"homepage": "https://github.com/nivisi/vscode-dart-build-runner-tools",
"bugs": {
"url": "https://github.com/nivisi/vscode-dart-build-runner-tools/issues"
},
"engines": {
"vscode": "^1.67.0"
},
"categories": [
"Programming Languages",
"Other"
],
"keywords": [
"Dart",
"Flutter",
"build_runner",
"code generation"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Dart build_runner Configuration",
"properties": {
"dartBuildRunnerTools.deleteConflictingOutputs": {
"type": "boolean",
"default": false,
"description": "Enable or disable the --delete-conflicting-outputs flag for Dart build_runner commands."
}
}
},
"commands": [
{
"command": "dartBuildRunnerTools.buildThisFile",
"title": "build_runner: Build This File"
},
{
"command": "dartBuildRunnerTools.watchThisFile",
"title": "build_runner: Watch This File"
},
{
"command": "dartBuildRunnerTools.buildPartFiles",
"title": "build_runner: Build Part Files"
},
{
"command": "dartBuildRunnerTools.watchPartFiles",
"title": "build_runner: Watch Part Files"
},
{
"command": "dartBuildRunnerTools.enableDeleteConflictingOutputs",
"title": "build_runner: Enable Delete Conflicting Outputs"
},
{
"command": "dartBuildRunnerTools.disableDeleteConflictingOutputs",
"title": "build_runner: Disable Delete Conflicting Outputs"
},
{
"command": "dartBuildRunnerTools.buildWorkspace",
"title": "Build Workspace",
"icon": "$(tools)"
},
{
"command": "dartBuildRunnerTools.watchWorkspace",
"title": "Watch Workspace",
"icon": "$(eye)"
},
{
"command": "dartBuildRunnerTools.openMenu",
"title": "build_runner: Menu",
"icon": "$(tools)"
}
],
"keybindings": [
{
"command": "dartBuildRunnerTools.openMenu",
"key": "ctrl+b ctrl+r",
"mac": "ctrl+b ctrl+r"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceExtname == .dart || resourceExtname == ''",
"command": "dartBuildRunnerTools.buildPartFiles",
"group": "dartBuildRunnerToolsParts@1"
},
{
"when": "resourceExtname == .dart || resourceExtname == ''",
"command": "dartBuildRunnerTools.watchPartFiles",
"group": "dartBuildRunnerToolsParts@2"
},
{
"when": "resourceExtname == .dart || resourceExtname == ''",
"command": "dartBuildRunnerTools.buildThisFile",
"group": "dartBuildRunnerToolsThis@1"
},
{
"when": "resourceExtname == .dart || resourceExtname == ''",
"command": "dartBuildRunnerTools.watchThisFile",
"group": "dartBuildRunnerToolsThis@2"
}
],
"commandPalette": [
{
"command": "dartBuildRunnerTools.enableDeleteConflictingOutputs",
"when": "config.dartBuildRunnerTools.deleteConflictingOutputs == false"
},
{
"command": "dartBuildRunnerTools.disableDeleteConflictingOutputs",
"when": "config.dartBuildRunnerTools.deleteConflictingOutputs == true"
}
],
"editor/title": [
{
"when": "resourceLangId == dart",
"command": "dartBuildRunnerTools.openMenu",
"group": "navigation"
}
]
}
},
"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": "vscode-test"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.67.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"typescript": "^5.3.3"
},
"dependencies": {
"js-yaml": "^4.1.0"
}
}