This repository has been archived by the owner on Dec 4, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
107 lines (107 loc) · 3.5 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
{
"name": "flutter-stylizer",
"license": "SEE LICENSE IN LICENSE",
"displayName": "flutter-stylizer",
"description": "Flutter Stylizer organizes your Flutter classes in an opinionated and consistent manner.",
"icon": "images/flutter-stylizer-logo-128x128.png",
"version": "0.1.16",
"publisher": "gmlewis-vscode",
"repository": "https://github.com/gmlewis/flutter-stylizer",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.flutterStylizer",
"onLanguage:dart"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "extension.flutterStylizer",
"title": "Flutter Stylizer"
}
],
"configuration": {
"title": "Flutter Stylizer",
"properties": {
"flutterStylizer": {
"groupAndSortGetterMethods": {
"type": "boolean",
"default": false,
"description": "Whether to group getters separately (before 'public-other-methods') and sort them within their group. (EXPERIMENTAL - use with caution.)"
},
"groupAndSortVariableTypes": {
"type": "boolean",
"default": false,
"description": " Whether to group public variables separately by type and sort them within their groups. Types are: `final`, `optional` (`?`), and `normal`. (EXPERIMENTAL - use with caution.)"
},
"memberOrdering": {
"type": "array",
"default": [
"public-constructor",
"named-constructors",
"public-static-variables",
"public-instance-variables",
"private-static-variables",
"private-instance-variables",
"public-override-methods",
"public-other-methods",
"build-method"
],
"description": "Ordered list of members to control reordering of source code."
},
"processEnumsLikeClasses": {
"type": "boolean",
"default": false,
"description": "Whether to process enums identically to how classes are processed. (EXPERIMENTAL - use with caution.)"
},
"sortClassesWithinFile": {
"type": "boolean",
"default": false,
"description": "Whether to sort multiple classes within each file. (EXPERIMENTAL - use with caution.)"
},
"sortOtherMethods": {
"type": "boolean",
"default": false,
"description": "Whether to sort the 'public-other-methods' within their group. (EXPERIMENTAL - use with caution.)"
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "^16.10.2",
"@types/sinon": "^10.0.4",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"glob": "^7.2.0",
"mocha": "^9.1.2",
"nanoid": ">=3.1.31",
"sinon": "^11.1.2",
"tslint": "^5.20.1",
"typescript": "^4.4.3",
"vscode-test": "^1.6.1"
},
"extensionDependency": [
"dart-code.dart-code"
],
"sponsor": {
"url": "https://github.com/sponsors/gmlewis"
}
}