-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
107 lines (107 loc) · 3.44 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": "vscode-clj-zprint",
"displayName": "vscode-clj-zprint",
"description": "Wrapper for zprint to format Clojure code.",
"version": "0.0.9",
"publisher": "rflagreca",
"repository": "https://github.com/rflagreca/vscode-clj-zprint",
"license": "GPL-3.0-or-later",
"engines": {
"vscode": "^1.51.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"onLanguage:clojure",
"onCommand:vscode-clj-zprint.refresh",
"onCommand:vscode-clj-zprint.currentconfig"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "vscode-clj-zprint.refresh",
"title": "Zprint: Refresh Configuration"
},
{
"command": "vscode-clj-zprint.currentconfig",
"title": "Zprint: Output Current non-Default Configuration"
}
],
"menus": {
"commandPalette": [
{
"command": "vscode-clj-zprint.refresh",
"when": "editorLangId == clojure"
},
{
"command": "vscode-clj-zprint.currentconfig",
"when": "editorLangId == clojure"
}
]
},
"configuration": {
"title": "Zprint",
"properties": {
"vscode-clj-zprint.width": {
"type": "string",
"default": null,
"description": "Width to format code. If no value, ignored."
},
"vscode-clj-zprint.Styles.ArrayOfStyles": {
"type": "array",
"items": {
"type": "string"
},
"default": null,
"description": "Specify styles, which will be applied in the order given."
},
"vscode-clj-zprint.Styles.UseOnlyTheseStyles": {
"type": "boolean",
"default": false,
"markdownDescription": "Ignore any `:style` configured in external files and use only the styles specified in the `Array Of Styles`. `Community Formatting` will be ignored, as will any `:style` in the `Option Map`."
},
"vscode-clj-zprint.CommunityFormatting": {
"type": "boolean",
"default": false,
"markdownDescription": "Use community formatting approach. Adds the `:community` style."
},
"vscode-clj-zprint.IgnoreExternalFiles": {
"type": "boolean",
"default": false,
"markdownDescription": "Do not read any `.zprintrc` or `.zprint.edn` files."
},
"vscode-clj-zprint.OptionsMap": {
"type": "string",
"editPresentation": "multilineText",
"default": null,
"description": "Enter a properly formatted options map. It will be applied after all other configuration."
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "yarn run lint",
"test": "node ./test/runTest.js",
"clean": "rm -rf .shadow-cljs/ && rm -f extension.js",
"compile": "yarn run shadow-cljs compile :extension",
"watch": "yarn run shadow-cljs watch :extension",
"release": "yarn run clean && yarn run shadow-cljs release :extension",
"package": "yarn run release && vsce package",
"package_debug": "yarn run clean && yarn run shadow-cljs compile :extension && vsce package"
},
"devDependencies": {
"@types/vscode": "^1.51.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^12.11.7",
"eslint": "^7.9.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.0.2",
"vscode-test": "^1.4.0",
"shadow-cljs": "^2.11.7"
}
}