forked from Lencerf/vscode-beancount
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 4.56 KB
/
package.json
File metadata and controls
147 lines (147 loc) · 4.56 KB
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
{
"name": "beancount",
"displayName": "Beancount",
"description": "VSCode extension for Beancount",
"version": "0.9.0",
"publisher": "Lencerf",
"engines": {
"vscode": "^1.46.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.js",
"contributes": {
"configuration": {
"title": "Beancount Configuration",
"properties": {
"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.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.fixedCJKWidth": {
"type": "boolean",
"default": false,
"description": "Set to true to treat CJK aka East Asian characters as two letters width on alignment."
},
"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 ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.46.0",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"eslint": "^7.22.0",
"eslint-config-google": "^0.14.0",
"glob": "^7.1.6",
"mocha": "^9.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
}
}