-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
183 lines (183 loc) · 6.38 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"publisher": "miquelddg",
"name": "dart-barrel-file-generator",
"displayName": "Dart Barrel File Generator",
"version": "6.3.1",
"description": "Visual studio code to generate barrel files for the Dart language.",
"author": {
"name": "Miquel de Domingo i Giralt",
"email": "miquelddg@gmail.com",
"url": "https://www.github.com/mikededo"
},
"repository": {
"type": "git",
"url": "https://github.com/mikededo/dartBarrelFileGenerator"
},
"bugs": {
"email": "miquelddg@gmail.com",
"url": "https://www.github.com/mikededo/dartBarrelFileGenerator/issues"
},
"keywords": [
"dart",
"barrel file",
"flutter"
],
"categories": [
"Programming Languages",
"Other"
],
"main": "./dist/extension.js",
"icon": "assets/logo.png",
"engines": {
"node": ">=22",
"vscode": "^1.94.0"
},
"activationEvents": [
"onLanguage:dart"
],
"contributes": {
"commands": [
{
"command": "dartBarrelFileGenerator.generateCurrent",
"title": "GDBF: This folder"
},
{
"command": "dartBarrelFileGenerator.generateCurrentAndNested",
"title": "GDBF: Folders (recursive)"
},
{
"command": "dartBarrelFileGenerator.generateCurrentWithSubfolders",
"title": "GDBF: Folders' files (recursive)"
},
{
"command": "dartBarrelFileGenerator.generateFocusedParent",
"title": "GDBF: Focused (parent)",
"when": "editorTextFocus"
}
],
"configuration": [
{
"title": "Dart Barrel File Generator",
"properties": {
"dartBarrelFileGenerator.defaultBarrelName": {
"title": "Default barrel file name",
"type": [
"string",
"null"
],
"default": null,
"markdownDescription": "The default name for the barrel file is `<folder-name>.dart`. You can override this name by setting a custom name. If there's any whitespace in the name it will be replaced by a '-' and the name **will be transformed to lowercase**."
},
"dartBarrelFileGenerator.promptName": {
"title": "Open input on file generation",
"type": "boolean",
"default": false,
"description": "Get promted asking for the name of the barrel file that will be created"
},
"dartBarrelFileGenerator.excludeFreezed": {
"title": "Exclude freezed (.freezed.dart) files",
"type": "boolean",
"default": true,
"markdownDescription": "Exclude `.freezed.dart` files"
},
"dartBarrelFileGenerator.excludeGenerated": {
"title": "Exclude generated (.g.dart) files",
"type": "boolean",
"default": true,
"markdownDescription": "Exclude `.g.dart` files"
},
"dartBarrelFileGenerator.excludeFileList": {
"title": "Additional patterns to exclude files",
"type": "array",
"default": [],
"description": "Add the file patterns that you want to exclude (as glob patterns). Excluded files will not be added to the barrel file."
},
"dartBarrelFileGenerator.excludeDirList": {
"title": "Additional patterns to exclude directories",
"type": "array",
"default": [],
"description": "Add the directory patterns that you want to exclude (as glob patterns). A barrel file will not be generated for these directories."
},
"dartBarrelFileGenerator.prependFolderName": {
"title": "Prepend name of the folder to the generated file",
"type": "boolean",
"default": false,
"markdownDescription": "Prepend the name of the folder to the generated files, e.g.: `<folder-name>_<barrel-file>.dart`."
},
"dartBarrelFileGenerator.appendFolderName": {
"title": "Append name of the folder to the generated file",
"type": "boolean",
"default": false,
"markdownDescription": "Append the name of the folder to the generated files, e.g.: `<barrel-file>_<folder-name>.dart`."
},
"dartBarrelFileGenerator.skipEmpty": {
"title": "Skip empty folders",
"type": "boolean",
"default": true,
"description": "Skip generating barrel files for folders that are empty (or do not contain any valid dart file)"
},
"dartBarrelFileGenerator.prependPackageToLibExport": {
"title": "Append package name to lib exports",
"type": "boolean",
"default": false,
"markdownDescription": "It will prepend `package:<package-name>/...` as a prefix of the export exclusively for the root file under `lib/`. It detects the name of the package by analysing the path of the project."
}
}
}
],
"menus": {
"explorer/context": [
{
"command": "dartBarrelFileGenerator.generateCurrent",
"group": "7_modification",
"when": "explorerResourceIsFolder"
},
{
"command": "dartBarrelFileGenerator.generateCurrentAndNested",
"group": "7_modification",
"when": "explorerResourceIsFolder"
},
{
"command": "dartBarrelFileGenerator.generateCurrentWithSubfolders",
"group": "7_modification",
"when": "explorerResourceIsFolder"
}
]
}
},
"scripts": {
"build": "vite build",
"changelog": "HUSKY=0 standard-version --no-verify",
"dev": "vite build --watch",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix",
"package": "vsce package --no-dependencies",
"prepare": "husky"
},
"dependencies": {
"minimatch": "10.0.1",
"path": "0.12.7"
},
"devDependencies": {
"@antfu/eslint-config": "3.8.0",
"@types/glob": "8.1.0",
"@types/node": "22.7.9",
"@types/vscode": "1.94.0",
"@typescript-eslint/eslint-plugin": "8.11.0",
"@typescript-eslint/parser": "8.11.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "9.13.0",
"eslint-plugin-format": "0.1.2",
"husky": "9.1.6",
"standard-version": "9.5.0",
"ts-loader": "9.5.1",
"typescript": "5.6.3",
"vite": "5.4.10",
"vsce": "2.15.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}