-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
201 lines (201 loc) · 5.71 KB
/
package.json
File metadata and controls
201 lines (201 loc) · 5.71 KB
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
{
"private": true,
"publisher": "yiqilaitech",
"displayName": "Teasim (Official)",
"name": "teasim",
"version": "0.1.2",
"description": "A Visual Studio Code extension that provides an IDE-grade support for Teasim projects.",
"author": "Billgo <[email protected]>",
"license": "MIT",
"homepage": "https://vscode.teasim.com",
"repository": {
"type": "git",
"url": "git+https://github.com/teasim/vscode.git"
},
"bugs": "https://github.com/teasim/vscode/issues",
"categories": [
"Other"
],
"type": "module",
"main": "./dist/index.cjs",
"icon": "logo.png",
"engines": {
"vscode": "^1.109.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "teasim.reload",
"title": "Reload Teasim",
"category": "Teasim"
},
{
"command": "teasim.insert-skip-annotation",
"title": "Insert `@unocss-skip` for the selection",
"category": "Teasim"
}
],
"configuration": {
"type": "object",
"title": "Teasim",
"properties": {
"teasim.disable": {
"type": "boolean",
"default": false,
"description": "Disable the Teasim extension"
},
"teasim.languageIds": {
"type": "array",
"items": {
"type": "string"
}
},
"teasim.root": {
"type": [
"array",
"string"
],
"items": {
"type": "string"
},
"description": "Project root that contains the Teasim configuration file"
},
"teasim.include": {
"type": [
"array",
"string"
],
"items": {
"type": "string"
},
"description": "Directory of files to be detected"
},
"teasim.exclude": {
"type": [
"array",
"string"
],
"items": {
"type": "string"
},
"description": "Directory of files not to be detected"
},
"teasim.underline": {
"type": "boolean",
"default": true,
"scope": "language-overridable",
"description": "Enable/disable underline decoration for class names"
},
"teasim.colorPreview": {
"type": "boolean",
"default": true,
"scope": "language-overridable",
"description": "Enable/disable color preview decorations"
},
"teasim.colorPreviewRadius": {
"type": "string",
"default": "50%",
"description": "Radius for color preview"
},
"teasim.remToPxPreview": {
"type": "boolean",
"default": true,
"scope": "language-overridable",
"description": "Enable/disable rem to px preview in hover"
},
"teasim.remToPxRatio": {
"type": "number",
"default": 16,
"scope": "language-overridable",
"description": "Ratio of rem to px"
},
"teasim.selectionStyle": {
"type": "boolean",
"default": true,
"description": "Enable/disable selection style decorations"
},
"teasim.strictAnnotationMatch": {
"type": "boolean",
"default": false,
"description": "Be strict about where to show annotations"
},
"teasim.autocomplete.matchType": {
"type": "string",
"default": "prefix",
"enum": [
"prefix",
"fuzzy"
],
"description": "The matching type for autocomplete"
},
"teasim.autocomplete.strict": {
"type": "boolean",
"default": false,
"description": "Be strict about where to show autocomplete"
},
"teasim.autocomplete.maxItems": {
"type": "number",
"default": 1000,
"description": "The maximum number of items to show in autocomplete"
},
"teasim.autocomplete.classFunctions": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"defineVariants",
"mergeClass"
],
"description": "Function names whose string arguments should support utility autocomplete"
}
}
}
},
"scripts": {
"prepublishOnly": "bun run build",
"build": "rimraf dist && tsdown",
"develop": "esno ./scripts/develop.ts && tsdown --watch src",
"prepare": "bun run update",
"publish": "esno ./scripts/publish.ts",
"update": "vscode-ext-gen --scope=teasim --output src/generated/meta.ts",
"pack": "vsce package --no-dependencies"
},
"devDependencies": {
"@biomejs/biome": "2.4.4",
"@devjskit/biome-config": "^0.2.1",
"@devjskit/copy-files": "^2.0.0",
"@devjskit/cross-env": "^1.0.0",
"@devjskit/kill-port": "^1.0.0",
"@devjskit/rimraf": "^1.0.0",
"@happy-dom/global-registrator": "^20.7.0",
"@jridgewell/remapping": "^2.3.5",
"@types/bun": "^1.3.9",
"@types/execa": "^2.0.2",
"@types/fs-extra": "^11.0.4",
"@types/vscode": "^1.109.0",
"@types/web": "^0.0.338",
"@unocss/autocomplete": "^66.6.0",
"@unocss/config": "^66.6.0",
"@unocss/core": "^66.6.0",
"@unocss/extractor-arbitrary-variants": "^66.6.0",
"esno": "^4.8.0",
"find-up": "^8.0.0",
"fs-extra": "^11.3.3",
"jiti": "^2.6.1",
"magic-string": "^0.30.21",
"prettier": "^3.8.1",
"tinyglobby": "^0.2.15",
"tsdown": "^0.20.3",
"unconfig": "^7.5.0",
"unplugin-utils": "^0.3.1",
"vscode-ext-gen": "^1.6.0"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/",
"access": "restricted"
}
}