-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
86 lines (86 loc) · 3.42 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
{
"name": "highlight-bad-chars",
"displayName": "Highlight Bad Chars",
"description": "Extension to highlight bad characters such as No-break space ( ) and the Greek question mark (;) in your source files.",
"version": "0.0.6",
"publisher": "wengerk",
"repository": "https://github.com/WengerK/vscode-highlight-bad-chars",
"homepage": "https://github.com/WengerK/vscode-highlight-bad-chars#readme",
"bugs": "https://github.com/WengerK/vscode-highlight-bad-chars/issues",
"license": "MIT",
"icon": "icon.png",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"browser": "./dist/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "highlight-bad-chars configuration",
"properties": {
"highlight-bad-chars.additionalUnicodeChars": {
"type": "array",
"default": [],
"description": "array of additional Unicode characters to match. example '\\u200E'"
},
"highlight-bad-chars.allowedUnicodeChars": {
"type": "array",
"default": [],
"description": "array of allowed Unicode characters to allow (which will not be marked as \"bad\". example '\\u200E'"
},
"highlight-bad-chars.badCharDecorationStyle": {
"type": "object",
"default": {
"cursor": "crosshair",
"backgroundColor": "rgba(255,0,0,0.3)",
"borderWidth": "1px",
"borderStyle": "solid",
"borderColor": "rgba(255,0,0,0.6)"
},
"description": "text editor decoration configuration, as passed to vscode.window.createTextEditorDecorationType"
},
"highlight-bad-chars.asciiOnly": {
"type": "boolean",
"default": false,
"description": "if enabled, all non-ASCII characters are highlighted"
}
}
}
},
"scripts": {
"build": "npm run compile-web",
"compile": "npm run build",
"clean": "rimraf dist/*",
"watch": "npm run watch-web",
"pretest": "npm run compile-web",
"vscode:prepublish": "npm run test && npm run lint && npm run package-web",
"compile-web": "npm run clean && webpack",
"watch-web": "npm run clean && webpack --watch",
"package-web": "npm run clean && webpack --mode production --devtool hidden-source-map",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'",
"test": "jest",
"run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
},
"devDependencies": {
"@babel/preset-env": "^7.15.6",
"@babel/preset-typescript": "^7.15.0",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.2",
"@types/vscode": "^1.60.0",
"@vscode/test-web": "^0.0.15",
"jest": "^27.2.4",
"rimraf": "^3.0.2",
"ts-loader": "^9.2.6",
"tslint": "^6.1.3",
"typescript": "^4.4.3",
"vscode-test": "^1.6.1",
"webpack": "^5.58.2",
"webpack-cli": "^4.9.0"
}
}