-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
156 lines (156 loc) · 4.88 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "beancount",
"displayName": "Beancount",
"description": "VSCode extension for Beancount",
"version": "0.6.1",
"publisher": "Lencerf",
"engines": {
"vscode": "^1.23.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Lencerf/vscode-beancount.git"
},
"bugs": {
"url": "https://github.com/Lencerf/vscode-beancount/issues"
},
"categories": [
"Linters",
"Formatters"
],
"activationEvents": [
"onLanguage:beancount"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"title": "Beancount Configuration",
"properties": {
"beancount.indentationSize": {
"type": "integer",
"default": 2,
"description": "Specify the default indentation size of bean file."
},
"beancount.separatorColumn": {
"type": "integer",
"default": 50,
"description": "Specify the column of the decimal separator."
},
"beancount.instantAlignment": {
"type": "boolean",
"default": true,
"description": "Set to true to align the amount (like 1.00 BTC) once a decimal point is inserted."
},
"beancount.completePayeeNarration": {
"type": "boolean",
"default": true,
"description": "Controls whether the auto completion list should include payee and narration fields."
},
"beancount.completeTransaction": {
"type": "boolean",
"default": true,
"description": "Controls whether the auto completion list should include whole transactions."
},
"beancount.completeMetadata": {
"type": "boolean",
"default": true,
"description": "Controls whether the auto completion list should include metadatas."
},
"beancount.mainBeanFile": {
"type": "string",
"default": "",
"description": "If you are splitting beancount files into multiple files, set this value to either the full path or the relative path to your main bean file so that this extension can get all account information. If it is left blank, the extension will consider the file in the current window as the main file."
},
"beancount.runFavaOnActivate": {
"type": "boolean",
"default": false,
"description": "If it is set to true, fava will run once this extension is activated."
},
"beancount.favaPath": {
"type": "string",
"default": "fava",
"description": "Specify the path of Fava if Fava is not installed in the main Python installation."
},
"beancount.python3Path": {
"type": "string",
"default": "python3",
"description": "Specify the path of Python if beancount is not installed in the main Python installation."
},
"beancount.inputMethods": {
"type": "array",
"default": [],
"description": "List the input methods for auto-completion of payees and narrations with CJK characters. Currently only `pinyin' is supported. See details: https://github.com/Lencerf/vscode-beancount/blob/master/InputMethods.md"
},
"beancount.flagWarnings": {
"type": "object",
"default": {
"*": null,
"!": 1,
"P": null,
"S": null,
"T": null,
"C": null,
"U": null,
"R": null,
"M": null
},
"description": "Provide a map from flag value (a string) to VS Code severity level, or null to not show a warning for this flag."
}
}
},
"commands": [
{
"command": "beancount.runFava",
"title": "Run Fava"
}
],
"languages": [
{
"id": "beancount",
"aliases": [
"Beancount",
"beancount"
],
"extensions": [
".beancount",
".bean"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "beancount",
"scopeName": "text.beancount",
"path": "./syntaxes/beancount.tmLanguage"
}
],
"snippets": [
{
"language": "beancount",
"path": "./snippets/beancount.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p .",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"check": "gts check",
"clean": "gts clean",
"fix": "gts fix",
"prepare": "npm run compile",
"pretest": "npm run compile",
"posttest": "npm run check"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^10.0.3",
"tslint": "^5.11.0",
"typescript": "~3.5.0",
"vscode": "^1.1.26",
"gts": "^1.1.0"
}
}