This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
forked from ce4ic/vscode-jsonnet-formatter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "jsonnet-format",
"description": "Provides jsonnet formatting support for VScode/VScodium.",
"version": "0.4.0",
"publisher": "itspngu",
"repository": {
"type": "git",
"url": "git+https://github.com/itspngu/vscode-jsonnet-format.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/itspngu/vscode-jsonnet-format/issues"
},
"homepage": "https://github.com/itspngu/vscode-jsonnet-format#readme",
"engines": {
"vscode": "^1.37.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:jsonnet"
],
"main": "dist/extension",
"contributes": {
"languages": [
{
"id": "jsonnet",
"aliases": [
"Jsonnet"
],
"extensions": [
".jsonnet",
".libsonnet"
]
}
],
"configuration": {
"title": "jsonnet-format",
"properties": {
"jsonnet-format.indent": {
"type": "integer",
"description": "Number of spaces to indent by (0 will inherit from VS Code Formatting Options)",
"default": 2
},
"jsonnet-format.maxBlankLines": {
"type": "integer",
"description": "Max vertical spacing, 0 means no change",
"default": 2
},
"jsonnet-format.stringStyle": {
"type": "string",
"enum": [
"double",
"single",
"leave"
],
"description": "Enforce double, single quotes or 'leave'",
"default": "single"
},
"jsonnet-format.commentStyle": {
"type": "string",
"enum": [
"hash",
"slashes",
"leave"
],
"enumDescriptions": [
"hash sign (#)",
"slashes (//)",
"leave without change"
],
"description": "# (h), // (s), or 'leave'; never changes she-bang",
"default": "slashes"
},
"jsonnet-format.prettyFieldNames": {
"type": "boolean",
"description": "Use syntax sugar for fields and indexing",
"default": true
},
"jsonnet-format.padArrays": {
"type": "boolean",
"description": "[ 1, 2, 3 ] instead of [1, 2, 3]",
"default": false
},
"jsonnet-format.padObjects": {
"type": "boolean",
"description": "{ x: 1, y: 2 } instead of {x: 1, y: 2}",
"default": true
},
"jsonnet-format.sortImports": {
"type": "boolean",
"description": "Sorting of imports",
"default": true
}
}
}
},
"scripts": {
"clean": "rimraf **/dist || true",
"build": "tsc -p ."
},
"devDependencies": {
"@types/diff": "^4.0.1",
"@types/node": "^12.0.0",
"@types/vscode": "^1.37.0",
"ovsx": "^0.2.1",
"rimraf": "^3.0.2",
"typescript": "^3.5.0",
"vsce": "^2.3.0"
},
"dependencies": {
"diff": "^4.0.1"
},
"packageManager": "[email protected]",
"peerDependencies": {
"vscode": "*"
}
}