-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
88 lines (88 loc) · 3.03 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
{
"name": "over-react-format-on-save",
"displayName": "OverReact Format on Save",
"description": "A Dart project formatting tool that enables formatting on file save. Attempts to use OverReact Format but defaults to dartfmt.",
"version": "1.0.3",
"publisher": "Workiva",
"repository": "https://github.com/Workiva/vs-code-format-on-save/",
"engines": {
"vscode": "^1.44.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:dart"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "overReactFormatOnSave.enableOverReactFormatOnSave",
"title": "OverReact Format On Save: Enable"
},
{
"command": "overReactFormatOnSave.disableOverReactFormatOnSave",
"title": "OverReact Format On Save: Disable"
}
],
"configuration": {
"title": "OverReact Format On Save",
"type": "object",
"properties": {
"overReact.formatOnSave.customLineLength": {
"Title": "Custom Line-Length",
"type": "number",
"description": "The line-length the formatter should use. Note that both this and `Detect Custom Line-Length` cannot be set at the same time. If this is set (i.e. greater than 0) and `Detect Custom Line-Length` is `true`, this property will take precedence.",
"minimum": 0
},
"overReact.formatOnSave.detectCustomLineLength": {
"Title": "Detect Custom Line-Length",
"type": "boolean",
"description": "Attempt to autodetect custom line-length. If you are using Dart Dev have a `tool/dart_dev/config.dart` file with a custom line-length defined, you can set this to true to use that line-length.",
"default": true
},
"overReact.formatOnSave.scanForNestedProjects": {
"Title": "Scan for Nested Packages",
"type": "boolean",
"description": "Allows the extension to scan for pubspec.yaml files that are nested somewhere in the project (defaulting to the project root) when the formatter runs.\n\nSee the extension details for more information.",
"default": false
},
"overReact.formatOnSave.showOutputOnError": {
"Title": "Show output console when error occurs in formatter",
"type": "boolean",
"description": "By default the extension will show the output console when an error occurs in the formatter. This can be disabled.",
"default": true
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"test": "node ./out/test/run_tests.js",
"package": "vsce package -o ./vs-code-format-on-save.vsix"
},
"icon": "images/OverReact_Logo.png",
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/vscode": "^1.44.0",
"@typescript-eslint/eslint-plugin": "^3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.1",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0",
"@vscode/vsce": "^2.19.0"
},
"dependencies": {
"@types/semver": "^7.2.0",
"semver": "^7.5.2",
"yaml": "^1.10.0"
}
}