-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
134 lines (134 loc) · 4.36 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
{
"name": "widgetbook-generator",
"displayName": "Widgetbook Entries Generator",
"description": "Extension which helps you automate the process of adding new widget entries for Widgetbook - a widget library for Flutter.",
"publisher": "LeanCode",
"repository": {
"type": "git",
"url": "https://github.com/leancodepl/widgetbook-entries-generator"
},
"bugs": {
"url": "https://github.com/leancodepl/widgetbook-entries-generator/issues",
"email": "pawel.jakubowski@leancode.pl"
},
"version": "0.2.1",
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"keywords": [
"dart",
"flutter",
"widgetbook"
],
"activationEvents": [
"onLanguage:dart"
],
"main": "./out/main.js",
"contributes": {
"commands": [
{
"command": "widgetbook-generator.generate.widget",
"title": "Create widgetbook entry for this widget"
},
{
"command": "widgetbook-generator.generate.directory",
"title": "Widgetbook: generate entry for each widget in the directory"
}
],
"configuration": [
{
"title": "Widgetbook Entries Generator configuration",
"properties": {
"widgetbook-generator.approach": {
"type": "string",
"enum": [
"Manual",
"Generation"
],
"default": "Generation",
"description": "Approach - in Manual you'll need to add widgets to the Widgetbook manually, in Generation build runner will do that for you."
},
"widgetbook-generator.barrelFileImport": {
"type": "string",
"default": "TODO",
"description": "Barrel widgets file import. This file exports all your widgets. E.g. \"package:my_common_ui/widgets.dart\"."
},
"widgetbook-generator.customKnobsPath": {
"type": "string",
"default": "",
"description": "Path to a JSON file with your custom knobs. Relative to the root workspace directory in VSCode. Leave empty if you don't have a file with custom knobs."
},
"widgetbook-generator.numberKnobType": {
"type": "string",
"enum": [
"Input",
"Slider"
],
"default": "Input",
"description": "A knob type which will be used for fields of type double and int."
},
"widgetbook-generator.rootDirectoryName": {
"type": "string",
"default": "TODO",
"description": "Root project directory name."
},
"widgetbook-generator.widgetbookVersion": {
"type": "string",
"enum": [
"3.0.0",
"3.2.0",
"3.4.0",
"Latest"
],
"default": "Latest",
"description": "Widgetbook version defined in your pubspec file. If your version is newer than the latest version in the dropdown, select the latest version."
},
"widgetbook-generator.widgetsDirectoryPath": {
"type": "string",
"default": "TODO",
"description": "Widgetbook widgets directory. Relative to the root workspace directory in VSCode."
}
}
}
],
"menus": {
"explorer/context": [
{
"command": "widgetbook-generator.generate.directory",
"group": "widgetbookGroup@1",
"when": "explorerResourceIsFolder"
}
]
}
},
"scripts": {
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"lint": "eslint src --ext ts",
"test": "jest",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.14",
"@types/node": "22.9.0",
"@types/vscode": "^1.70.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.24.0",
"eslint": "^9.15.0",
"glob": "^11.0.0",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3"
},
"dependencies": {
"change-case": "^5.4.4"
}
}