-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
211 lines (211 loc) · 6.37 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
{
"name": "vscode-stylelint",
"version": "0.87.5",
"license": "MIT",
"description": "Modern CSS/SCSS/Less linter",
"main": "dist/index.js",
"displayName": "stylelint",
"publisher": "stylelint",
"repository": "https://github.com/stylelint/vscode-stylelint",
"homepage": "https://github.com/stylelint/vscode-stylelint#readme",
"bugs": "https://github.com/stylelint/vscode-stylelint/issues",
"qna": "https://stackoverflow.com/questions/tagged/vscode+stylelint",
"icon": "media/stylelint.png",
"engines": {
"vscode": ">=1.56.0",
"node": ">=14.16.0"
},
"galleryBanner": {
"color": "#000000",
"theme": "dark"
},
"categories": [
"Linters",
"Snippets"
],
"keywords": [
"css",
"less",
"sass",
"scss",
"sugarss",
"lint",
"linter",
"style",
"stylelint",
"validation",
"check"
],
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "stylelint",
"properties": {
"stylelint.enable": {
"type": "boolean",
"default": true,
"description": "Control whether stylelint is enabled for CSS/SCSS/Less files or not."
},
"stylelint.config": {
"type": [
"object",
"null"
],
"default": null,
"description": "A stylelint configuration object."
},
"stylelint.configFile": {
"type": "string",
"default": "",
"description": "Path to a JSON, YAML, or JS file that contains your configuration object. Use this option if you don't want stylelint to search for a configuration file."
},
"stylelint.configBasedir": {
"type": "string",
"default": "",
"description": "A path to the directory that relative paths defining \"extends\" and \"plugins\" are relative to."
},
"stylelint.customSyntax": {
"type": "string",
"default": "",
"description": "An absolute path to a custom PostCSS-compatible syntax module."
},
"stylelint.ignoreDisables": {
"type": "boolean",
"default": false,
"description": "Ignore `styleline-disable` (e.g. `/* stylelint-disable block-no-empty */`) comments"
},
"stylelint.reportNeedlessDisables": {
"type": "boolean",
"default": false,
"description": "Also report errors for `stylelint-disable` comments that are not blocking a lint warning."
},
"stylelint.reportInvalidScopeDisables": {
"type": "boolean",
"default": false,
"description": "Also report errors for `stylelint-disable` comments that used for rules that don't exist within the configuration object."
},
"stylelint.stylelintPath": {
"type": "string",
"default": "",
"description": "Supply a custom path to the stylelint module."
},
"stylelint.packageManager": {
"scope": "resource",
"type": "string",
"enum": [
"npm",
"yarn",
"pnpm"
],
"default": "npm",
"description": "The package manager you use to install node modules."
},
"stylelint.validate": {
"scope": "resource",
"type": "array",
"items": {
"type": "string"
},
"default": [
"css",
"postcss"
],
"description": "An array of language ids which should be validated by stylelint."
},
"stylelint.snippet": {
"scope": "resource",
"type": "array",
"items": {
"type": "string"
},
"default": [
"css",
"postcss"
],
"description": "An array of language ids which snippets are provided by stylelint."
}
}
},
"commands": [
{
"title": "Fix all auto-fixable Problems",
"category": "stylelint",
"command": "stylelint.executeAutofix"
}
],
"jsonValidation": [
{
"fileMatch": "**/.stylelintrc*",
"url": "http://json.schemastore.org/stylelintrc.json"
}
],
"languages": [
{
"id": "ignore",
"filenames": [
".stylelintignore"
]
}
]
},
"dependencies": {
"fast-diff": "^1.2.0",
"lodash": "^4.17.20",
"path-is-inside": "^1.0.2",
"pkg-dir": "^5.0.0",
"vscode-languageclient": "^7.0.0",
"vscode-languageserver": "^7.0.0",
"vscode-languageserver-textdocument": "^1.0.1",
"vscode-languageserver-types": "^3.16.0",
"vscode-uri": "^3.0.2"
},
"devDependencies": {
"@stylelint/postcss-css-in-js": "^0.37.2",
"@stylelint/prettier-config": "^2.0.0",
"@types/eslint": "^7.28.1",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.1",
"@types/lodash": "^4.14.151",
"@types/path-is-inside": "^1.0.0",
"@types/vscode": "1.56.0",
"@vscode/test-electron": "^1.6.2",
"esbuild": "^0.13.3",
"eslint": "^7.5.0",
"eslint-config-stylelint": "^14.0.0",
"fast-glob": "^3.2.7",
"fs-extra": "^10.0.0",
"jest": "^27.2.1",
"jest-runner-vscode": "^2.0.0",
"npm-run-all": "^4.1.5",
"p-wait-for": "^3.1.0",
"postcss": "^8.3.9",
"postcss-sass": "^0.5.0",
"postcss-scss": "^4.0.1",
"prettier": "^2.3.0",
"stylelint": "git+https://git@github.com/stylelint/stylelint#v14",
"stylelint-processor-glamorous": "^0.3.0",
"stylelint-processor-styled-components": "^1.10.0",
"typescript": "^4.4.3",
"zen-observable": "^0.8.15"
},
"scripts": {
"bundle": "npm run bundle-base -- --sourcemap",
"bundle-base": "node scripts/bundle.js",
"bundle-watch": "npm run bundle-base -- --sourcemap --watch",
"download-types": "node scripts/stylelint-types.js --download",
"download-vscode": "node scripts/download-vscode.js",
"format": "prettier . --write",
"lint": "run-s \"lint:*\"",
"lint:formatting": "prettier . --check",
"lint:js": "eslint --report-unused-disable-directives .",
"lint:types": "tsc",
"test": "npm run bundle && jest",
"test:lib": "jest --projects test/lib",
"test:workspace": "npm run bundle && jest --projects test/workspace",
"vscode:prepublish": "npm run bundle-base -- --minify"
},
"prettier": "@stylelint/prettier-config"
}