-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
207 lines (207 loc) · 6.64 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
{
"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": "1.9.6",
"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.72.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 TS/TSX files"
},
"reactTsScss.diagnostics": {
"type": "boolean",
"default": true,
"description": "Provide Diagnostics and Code Actions for non existing selectors and non existing css modules"
},
"reactTsScss.tsconfig": {
"type": "string",
"title": "TS Config Path",
"default": "./tsconfig.json",
"description": "Location of tsconfig.json inside the project.This config is used to resolve path aliases by the extension"
},
"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": true,
"description": "Codelens to references of selectors"
}
}
},
"typescriptServerPlugins": [
{
"enableForWorkspaceTypeScriptVersions": true,
"name": "typescript-cleanup-definitions"
}
]
},
"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 src --ext ts",
"test": "node ./out/test/runTest.js",
"deploy": "vsce publish",
"check:version": "./scripts/check_version"
},
"vsce": {
"yarn": false
},
"devDependencies": {
"@babel/types": "^7.19.3",
"@types/babel__traverse": "^7.18.2",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "^16.18.11",
"@types/sinon": "^10.0.13",
"@types/vscode": "^1.72.0",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"@vscode/test-electron": "^2.1.5",
"@vscode/vsce": "^2.16.0",
"eslint": "^8.20.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"ts-loader": "^9.3.1",
"typescript": "^4.9.4",
"vsce": "^2.11.0",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"sinon": "^14.0.1"
},
"dependencies": {
"typescript-cleanup-definitions": "^1.1.0",
"@babel/parser": "^7.19.3",
"@babel/traverse": "^7.19.3",
"closest-match": "^1.3.3",
"fast-glob": "^3.2.12",
"vscode-css-languageservice": "^6.1.1"
}
}