-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.91 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
{
"name": "unicode-converter",
"displayName": "Unicode Converter",
"description": "Encode unicode characters in selected text",
"version": "0.0.5",
"publisher": "chazuk",
"homepage": "https://github.com/ChazUK/vscode-unicode-converter",
"bugs": "https://github.com/ChazUK/vscode-unicode-converter/issues",
"repository": {
"type": "git",
"url": "https://github.com/ChazUK/vscode-unicode-converter"
},
"engines": {
"vscode": "^1.40.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.unicodeConverter"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.unicodeConverter",
"title": "Unicode Converter"
}
],
"configuration": {
"title": "Unicode Converter",
"properties": {
"unicodeConverter.encode.useNamedReferences": {
"type": "boolean",
"default": false,
"description": "The default value for the useNamedReferences option is false. This means that encode() will not use any named character references (e.g. ©) in the output — hexadecimal escapes (e.g. ©) will be used instead. Set it to true to enable the use of named references."
},
"unicodeConverter.encode.decimal": {
"type": "boolean",
"default": false,
"description": "The default value for the decimal option is false. If the option is enabled, encode will generally use decimal escapes (e.g. ©) rather than hexadecimal escapes (e.g. ©). Beside of this replacement, the basic behavior remains the same when combined with other options. For example: if both options useNamedReferences and decimal are enabled, named references (e.g. ©) are used over decimal escapes. HTML entities without a named reference are encoded using decimal escapes."
},
"unicodeConverter.encode.allowUnsafeSymbols": {
"type": "boolean",
"default": true,
"description": "The default value for the allowUnsafeSymbols option is true. This means that only non-ASCII characters will be encoded. When set to false, characters that are unsafe for use in HTML content (&, <, >, \", ', and `) will be encoded."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.7",
"@types/node": "^12.11.7",
"@types/vscode": "^1.40.0",
"ansi-regex": ">=5.0.1",
"glob": "^7.1.5",
"lodash": ">=4.17.21",
"minimist": ">=0.2.1",
"mocha": "^6.2.2",
"path-parse": ">=1.0.7",
"tslint": "^5.20.0",
"typescript": "^3.6.4",
"vscode-test": "^1.2.2",
"y18n": ">=4.0.1",
"yargs-parser": ">=13.1.2"
},
"dependencies": {
"he": "^1.2.0"
}
}