/
package.json
138 lines (138 loc) · 3.46 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
{
"publisher": "antfu",
"name": "@unocss/vscode",
"displayName": "UnoCSS",
"version": "0.58.7",
"private": true,
"description": "UnoCSS for VS Code",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/unocss/unocss",
"directory": "packages/vscode"
},
"categories": [
"Other"
],
"main": "./dist/index.js",
"preview": true,
"icon": "res/logo.png",
"engines": {
"vscode": "^1.71.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "unocss.reload",
"title": "Reload UnoCSS",
"category": "UnoCSS"
}
],
"configuration": {
"type": "object",
"title": "UnoCSS",
"properties": {
"unocss.disable": {
"type": "boolean",
"default": false,
"description": "Disable the UnoCSS extension"
},
"unocss.languageIds": {
"type": "array",
"items": {
"type": "string"
}
},
"unocss.root": {
"type": [
"array",
"string"
],
"items": {
"type": "string"
},
"description": "Project root that contains the UnoCSS configuration file"
},
"unocss.include": {
"type": [
"array",
"string"
],
"items": {
"type": "string"
},
"description": "Directory of files to be detected"
},
"unocss.exclude": {
"type": [
"array",
"string"
],
"items": {
"type": "string"
},
"description": "Directory of files not to be detected"
},
"unocss.underline": {
"type": "boolean",
"default": true,
"description": "Enable/disable underline decoration for class names"
},
"unocss.colorPreview": {
"type": "boolean",
"default": true,
"description": "Enable/disable color preview decorations"
},
"unocss.remToPxPreview": {
"type": "boolean",
"default": false,
"description": "Enable/disable rem to px preview in hover"
},
"unocss.remToPxRatio": {
"type": "number",
"default": 16,
"description": "Ratio of rem to px"
},
"unocss.selectionStyle": {
"type": "boolean",
"default": true,
"description": "Enable/disable selection style decorations"
},
"unocss.autocomplete.matchType": {
"type": "string",
"default": "prefix",
"enum": [
"prefix",
"fuzzy"
],
"description": "The matching type for autocomplete"
},
"unocss.autocomplete.maxItems": {
"type": "number",
"default": 1000,
"description": "The maximum number of items to show in autocomplete"
}
}
}
},
"scripts": {
"build": "tsup",
"dev": "esno ./scripts/dev.ts && tsup --watch src",
"publish": "esno ./scripts/publish.ts",
"pack": "vsce package --no-dependencies"
},
"devDependencies": {
"@types/vscode": "^1.71.0",
"@unocss/nuxt": "workspace:*",
"@unocss/preset-uno": "workspace:*",
"esno": "^4.7.0",
"find-up": "^6.3.0",
"jiti": "^1.21.0",
"prettier": "^2.8.8",
"tsup": "^8.0.2",
"unconfig": "^0.3.11"
}
}