-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 1.78 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
{
"name": "codepage-validator",
"displayName": "Codepage Validator",
"description": "Check if the content in edit matches to the file encoding.",
"publisher": "sgqy",
"repository": {
"url": "https://github.com/sgqy/codepage-validator"
},
"version": "0.0.1",
"engines": {
"vscode": "^1.0.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.validateCodepage",
"onLanguage:plaintext"
],
"main": "./out/main.js",
"contributes": {
"commands": [
{
"command": "extension.validateCodepage",
"title": "Validate Codepage"
}
],
"configuration":[
{
"title": "Codepage Validator",
"properties": {
"codepageValidator.Charset": {
"type": "string",
"default": "sjis",
"description": "Set the codepage you want to test"
},
"codepageValidator.Style.Foreground": {
"type": "string",
"default": "#f00f",
"description": "Format: #RGB, #RGBA, #RRGGBB, #RRGGBBAA"
},
"codepageValidator.Style.Background": {
"type": "string",
"default": "#fff0",
"description": "Format: #RGB, #RGBA, #RRGGBB, #RRGGBBAA"
},
"codepageValidator.RealTime": {
"type": "boolean",
"default": true,
"description": "Validate codepage when modifying text (Need reload)"
}
}
}
]
},
"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.0.0",
"glob": "^7.1.5",
"mocha": "^10.2.0",
"typescript": "^3.6.4",
"tslint": "^5.20.0",
"vscode-test": "^1.2.2"
},
"dependencies": {
"iconv-lite": "^0.5.0"
}
}