-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 2.37 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
{
"name": "brittany",
"displayName": "brittany",
"description": "Runs the Haskell code formatting tool Brittany",
"version": "0.0.9",
"publisher": "MaxGabriel",
"repository": "https://github.com/MaxGabriel/brittany-vscode-extension",
"engines": {
"vscode": "^1.19.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"onLanguage:haskell"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"title": "brittany configuration",
"type": "object",
"properties": {
"brittany.path": {
"type": "string",
"default": "brittany",
"description": "Path to the brittany executable. This will be wrapped in double quotes to escape it, so your path can e.g. include spaces."
},
"brittany.enable": {
"type": "boolean",
"default": true,
"description": "Whether the extension should be enabled."
},
"brittany.stackEnable": {
"type": "boolean",
"default": false,
"description": "Whether the extension should use brittany through stack (stack exec brittany) instead of brittany on the PATH."
},
"brittany.additionalFlags": {
"type": "string",
"default": "",
"description": "Additional flags to pass to brittany, e.g. --indent AMOUNT. These are unescaped. They should not attempt to change the input or output files. This option mostly exists as an escape hatch—you should generally prefer editing your brittany config file if possible."
},
"brittany.keepCRLF": {
"type": "boolean",
"default": false,
"description": "Whether the extension should replace CRLF endings with LF."
},
"brittany.showErrorNotification": {
"type": "boolean",
"default": false,
"description": "Whether the extension should show an error message when running brittany fails."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"dependencies": {
"promisify-child-process": "*"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"@types/tmp": "0.0.33",
"typescript": "^3.1.6",
"vscode": "^1.1.21"
}
}