-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
100 lines (100 loc) · 3.07 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
{
"name": "dart-import",
"displayName": "dart-import",
"description": "Fix Dart/Flutter's imports",
"version": "0.3.1",
"publisher": "luanpotter",
"repository": "https://github.com/luanpotter/vscode-dart-import",
"engines": {
"vscode": "^1.45.1"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:dart-import.fix",
"onCommand:dart-import.fix-all"
],
"main": "./out/extension",
"contributes": {
"languages": [
{
"id": "dart",
"extensions": [
".dart"
],
"aliases": [
"Dart",
"dart"
]
}
],
"configuration": {
"title": "Dart Import configuration",
"properties": {
"dartImport.showErrorMessages": {
"type": "boolean",
"description": "Whether you want to see errors after dart-import task failure",
"default": true
},
"dartImport.showInfoMessages": {
"type": "boolean",
"description": "Whether you want to see notification after dart-import task completion",
"default": true
},
"dartImport.excludeGeneratedFiles": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of generated file extensions to exclude",
"default": [
"g.dart",
"config.dart",
"freezed.dart"
]
},
"dartImport.fixOnSave": {
"type": "boolean",
"description": "Auto fix dart imports on file save",
"default": false
}
}
},
"commands": [
{
"command": "dart-import.fix",
"title": "Fix Imports"
},
{
"command": "dart-import.fix-all",
"title": "Fix All Imports"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"package": "vsce package",
"publish": "vsce publish",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.6",
"@types/vscode": "^1.45.1",
"@typescript-eslint/eslint-plugin": "^3.0.2",
"@typescript-eslint/parser": "^3.0.2",
"eslint": "^7.1.0",
"glob": "^7.1.6",
"mocha": "^7.2.0",
"tsc": "^1.20150623.0",
"typescript": "^3.9.3",
"vsce": "^1.81.1",
"vscode-test": "^1.4.0"
}
}