-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
218 lines (218 loc) · 6.88 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
212
213
214
215
216
217
218
{
"name": "react-ts-css",
"displayName": "React CSS modules",
"description": "React CSS modules - VS code extension for CSS modules support in React projects written in typescript.Supports Definitions, Hover , Completion Providers and Diagnostics",
"version": "3.2.7",
"author": "Viijay-Kr",
"publisher": "viijay-kr",
"homepage": "https://github.com/Viijay-Kr/react-ts-css/blob/main/README.md",
"bugs": {
"url": "https://github.com/Viijay-Kr/react-ts-css/issues",
"email": "[email protected]"
},
"repository": {
"url": "https://github.com/Viijay-Kr/react-ts-css.git"
},
"license": "MIT",
"keywords": [
"CSS modules",
"Go to class selector",
"suffix selector completion",
"go to suffix selector definition",
"kebab case support",
"snake case support",
"pascal case support",
"React CSS modules",
"Go to nested selector",
"Definitions",
"Completion",
"CSS Peek",
"selector navigation",
"typescriptreact",
"SCSS",
"Linting",
"Diagnostics",
"Code Actions",
"Selector References",
"CSS",
"CSS variables autoComplete",
"CSS variables Definitions",
"CSS syntax coloring"
],
"icon": "images/icon.png",
"galleryBanner": {
"color": "#282822",
"theme": "dark"
},
"engines": {
"vscode": "^1.90.0",
"node": "^20.10.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:typescriptreact",
"onLanguage:javascriptreact",
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:css",
"onLanguage:scss",
"onLanguage:less"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "React CSS modules",
"properties": {
"reactTsScss.peekProperties": {
"type": "boolean",
"default": true,
"description": "Peek the block of css or scss properties on Hovering a selector"
},
"reactTsScss.autoComplete": {
"type": "boolean",
"default": true,
"description": "Auto completion of selectors"
},
"reactTsScss.autoImport": {
"type": "boolean",
"default": true,
"description": "Auto import css/scss modules on completion"
},
"reactTsScss.definition": {
"type": "boolean",
"default": true,
"description": "Go to definition of any kind of selector"
},
"reactTsScss.references": {
"type": "boolean",
"default": true,
"description": "Find all references of a selector across various component files"
},
"reactTsScss.diagnostics": {
"type": "boolean",
"default": true,
"description": "Provide Diagnostics and Code Actions for non existing selectors and non existing css modules"
},
"reactTsScss.baseDir": {
"type": "string",
"default": "src",
"title": "Base Dir Path",
"description": "Base directory path inside the project. Defaults to 'src'"
},
"reactTsScss.cssAutoComplete": {
"type": "boolean",
"title": "Autocomplete CSS variables",
"default": true,
"description": "Auto completion of css variables from various files"
},
"reactTsScss.cssDefinitions": {
"type": "boolean",
"title": "Go to CSS variables definition",
"default": true,
"description": "Definition provider for css variables from various files"
},
"reactTsScss.cssSyntaxColor": {
"type": "boolean",
"title": "Syntax Coloring for CSS variables",
"default": true,
"description": "Color preview and presentation for CSS variables"
},
"reactTsScss.tsCleanUpDefs": {
"type": "boolean",
"title": "Enable/Disable Typescript cleanup definitions plugin",
"description": "Typescript cleanup definitions plugin can be disabled with this setting. 'reactTsScss.cleanUpDefs' will have no effect when this setting is false",
"default": true
},
"reactTsScss.cleanUpDefs": {
"type": "array",
"title": "Cleanup Definitions From Modules",
"scope": "window",
"description": "Add a set of blob that represents extension of a module to skip Go to definition results from. Useful for skipping unnecessary defintions from boiler plate projects",
"default": [
"*.module.css",
"*.module.scss",
"*.module.sass",
"*.module.less",
"*.module.styl"
]
},
"reactTsScss.codelens": {
"type": "boolean",
"title": "Code Lens for selectors",
"default": false,
"description": "Codelenses to references of selectors"
},
"reactTsScss.renameSelector": {
"type": "boolean",
"title": "Rename Selector",
"default": true,
"description": "Rename selectors across multiple locations"
}
}
},
"typescriptServerPlugins": [
{
"enableForWorkspaceTypeScriptVersions": true,
"name": "typescript-cleanup-definitions"
}
]
},
"extensionDependencies": [
"vscode.git"
],
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint",
"lint:fix": "eslint --fix",
"format:check": "prettier . --check",
"format:fix": "prettier . --write",
"test": "node ./out/test/runTest.js",
"publish:vscode": "vsce publish",
"publish:openvsx": "ovsx publish",
"check:version": "./scripts/check_version"
},
"vsce": {
"yarn": false
},
"devDependencies": {
"@babel/parser": "^7.19.3",
"@babel/traverse": "^7.19.3",
"@babel/types": "^7.19.3",
"@changesets/cli": "^2.27.1",
"@types/babel__traverse": "^7.18.2",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "^22.7.5",
"@types/sinon": "^10.0.13",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.32.0",
"closest-match": "^1.3.3",
"eslint": "^9.12.0",
"fast-glob": "^3.2.12",
"glob": "^8.0.3",
"json5": "^2.2.3",
"mocha": "^10.0.0",
"ovsx": "^0.8.3",
"prettier": "^3.3.3",
"sinon": "^14.0.1",
"ts-loader": "^9.3.1",
"typescript": "^5.6.3",
"vscode-css-languageservice": "^6.2.12",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"typescript-cleanup-definitions": "^1.3.0"
}
}