-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
140 lines (140 loc) · 3.73 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
{
"name": "vscode-typograf",
"displayName": "vscode-typograf",
"description": "Helps to automatically place the non-breaking spaces, correct small typos, replace the quotation marks to a correct format and much more.",
"keywords": [
"typography",
"typograf",
"quote",
"типограф",
"кавычки"
],
"version": "0.3.0",
"publisher": "rusnasonov",
"repository": {
"type": "git",
"url": "https://github.com/rusnasonov/vscode-typograf.git"
},
"engines": {
"vscode": "^1.25.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"onCommand:vscode-typograf.processSelected"
],
"main": "./out/extension",
"contributes": {
"keybindings": [
{
"command": "vscode-typograf.processSelected",
"key": "ctrl+alt+t",
"mac": "ctrl+alt+t",
"when": "editorHasSelection"
}
],
"commands": [
{
"command": "vscode-typograf.processSelected",
"title": "Run Typograf on selected text"
}
],
"configuration": [
{
"title": "Typograf configuration",
"properties": {
"vscode-typograf.autoDetectLocale": {
"type": "boolean",
"default": true,
"order": 9
},
"vscode-typograf.locale": {
"type": "string",
"default": "en-US",
"order": 10,
"enum": [
"be",
"bg",
"ca",
"cs",
"da",
"de",
"el",
"en-GB",
"en-US",
"eo",
"es",
"et",
"fi",
"fr",
"ga",
"hu",
"it",
"lv",
"nl",
"no",
"pl",
"ro",
"ru",
"sk",
"sl",
"sr",
"sv",
"tr",
"uk"
]
},
"vscode-typograf.type": {
"type": "string",
"default": "default",
"description": "Type of HTML entities. Valid values are 'default', 'name' and 'digit'",
"order": 20,
"enum": [
"default",
"name",
"digit"
]
},
"vscode-typograf.onlyInvisible": {
"type": "boolean",
"default": false,
"description": "HTML entities only for invisible symbols",
"order": 30
},
"vscode-typograf.enableRules": {
"type": "string",
"default": "",
"description": "Specify [rules](https://github.com/typograf/typograf/blob/dev/docs/RULES.en-US.md) to enable, separated by commas.\nExample: `common/nbsp/replaceNbsp,ru/optalign/*`",
"order": 40
},
"vscode-typograf.disableRules": {
"type": "string",
"default": "",
"description": "Specify [rules](https://github.com/typograf/typograf/blob/dev/docs/RULES.en-US.md) to disable, separated by commas.\nExample: `common/space/afterPunctuation,common/space/trimLeft`",
"order": 50
}
}
}
]
},
"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"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"tslint": "^5.8.0",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
},
"dependencies": {
"franc": "^4.0.0",
"langs": "^2.0.0",
"typograf": "^6.7.2"
}
}