forked from dongfg/vscode-beancount-formatter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.94 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
{
"name": "vscode-beancount-formatter",
"displayName": "Beancount Formatter",
"description": "Beancount file formatter",
"version": "1.4.2",
"engines": {
"vscode": "^1.41.0"
},
"publisher": "dongfg",
"license": "mit",
"author": "dongfg",
"repository": {
"type": "git",
"url": "https://github.com/dongfg/vscode-beancount-formatter.git"
},
"bugs": {
"url": "https://github.com/dongfg/vscode-beancount-formatter/issues"
},
"homepage": "https://github.com/dongfg/vscode-beancount-formatter/blob/master/README.md",
"categories": [
"Formatters",
"Programming Languages"
],
"icon": "icon.png",
"activationEvents": [
"onLanguage:beancount"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Beancount Fomatter Configuration",
"properties": {
"beancountFormatter.prefixWidth": {
"type": [
"null",
"number"
],
"default": null,
"description": "Use this prefix width instead of determining an optimal value automatically."
},
"beancountFormatter.numWidth": {
"type": [
"null",
"number"
],
"default": null,
"description": "Use this width to render numbers instead of determining an optimal value."
},
"beancountFormatter.currencyColumn": {
"type": [
"null",
"number"
],
"default": null,
"description": "Align currencies in this column."
},
"beancountFormatter.fixedCJKWidth": {
"type": "boolean",
"default": false,
"description": "Set true to treat CJK aka East Asian characters as two letters width."
}
}
},
"languages": [
{
"id": "beancount",
"aliases": [
"beancount"
],
"extensions": [
".bean",
".beancount"
]
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile",
"test": "jest",
"lint": "eslint --cache --ext .ts ./src",
"lint:fix": "yarn lint --fix && yarn lint",
"lint-staged": "eslint --cache --ext .ts ./src",
"prepare": "husky install"
},
"lint-staged": {
"**/*.ts": "yarn lint-staged"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@babel/preset-typescript": "^7.14.5",
"@types/jest": "^26.0.23",
"@types/node": "*",
"@types/vscode": "^1.41.0",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"babel-jest": "^27.0.6",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.0",
"jest": "^27.0.6",
"lint-staged": ">=10",
"prettier": "^2.3.2",
"typescript": "^3.7.4"
}
}