-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 3.81 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
{
"name": "browser-compatibility-checker",
"displayName": "Browser compatibility checker",
"description": "Checks compatibility of your HTML/CSS/JS with modern browsers. Uses MDN compatibility data to check for deprecated/mixed-support features.",
"publisher": "benandrew",
"icon": "icon.png",
"version": "1.1.2",
"repository": {
"type": "git",
"url": "git+https://github.com/BenAAndrew/browser-compatibility-checker.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages",
"Linters"
],
"keywords": [
"browser compatibility",
"browser",
"code analysis",
"linting",
"mdn",
"browser-compat-data",
"compatibility",
"checker",
"browserslist",
"caniuse"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"bin": {
"browser-compatibility-checker": "./out/cli.js"
},
"contributes": {
"commands": [
{
"command": "browser-compatibility-checker.all-files",
"title": "Browser compatibility check: Scan all files"
},
{
"command": "browser-compatibility-checker.current-file",
"title": "Browser compatibility check: Scan current file"
}
],
"configuration": {
"title": "Browser compatibility checker",
"properties": {
"browser-compatibility-checker.enableOnChange": {
"type": "boolean",
"default": true,
"description": "Enable this extension on start and file change"
},
"browser-compatibility-checker.browserList": {
"type": "array",
"default": [
"chrome",
"edge",
"firefox",
"opera",
"safari",
"ie",
"chrome_android",
"firefox_android",
"opera_android",
"safari_ios",
"samsunginternet_android",
"webview_android"
],
"description": "Which browsers to check compatibility for"
},
"browser-compatibility-checker.warnForOtherBrowsers": {
"type": "boolean",
"default": true,
"description": "Show a warning for issues with browsers not in the browser list"
},
"browser-compatibility-checker.foldersToIgnore": {
"type": "array",
"default": [
"**/node_modules/**",
"**/.**/**",
"**/**.test.**",
"**/**.spec.**"
],
"description": "Glob paths to exclude from scanning"
},
"browser-compatibility-checker.useError": {
"type": "boolean",
"default": true,
"description": "Use a severity of 'error' for each problem (otherwise uses 'warning')"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"postcompile": "node out/browser-compatibility-checker/compat-issues.js",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"format": "npx prettier . --write",
"test": "mocha 'out/browser-compatibility-checker/test/*.spec.js'",
"extension-test": "vscode-test",
"publish-extension": "vsce package && vsce publish"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.56.0",
"mocha": "^10.2.0",
"prettier": "3.2.4",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"@mdn/browser-compat-data": "^5.5.8",
"browserslist": "^4.23.2",
"commander": "^12.0.0",
"kleur": "^4.1.5",
"minimatch": "^9.0.3"
}
}