-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
158 lines (158 loc) · 5.49 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
{
"name": "vscode-twind-intellisense",
"publisher": "xlboy",
"displayName": "Twind Intellisense (Phoenix)",
"version": "0.6.0",
"description": "[email protected] Intellisense for VSCode. Enhancing your Twind development experience.",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/xlboy/vscode-twind-intellisense"
},
"categories": [
"Other"
],
"main": "./dist/index.cjs",
"icon": "res/logo.png",
"files": [
"dist/**/*",
"res/**/*"
],
"engines": {
"vscode": "^1.70.0",
"node": ">=20.0.0"
},
"packageManager": "[email protected]",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Twind Intellisense (Phoenix)",
"properties": {
"twind-intellisense.enabled": {
"type": "boolean",
"default": true,
"description": "Enable this extension"
},
"twind-intellisense.presets": {
"type": "array",
"default": [
"tailwind"
],
"items": {
"type": "string",
"enum": [
"tailwind",
"tailwind-forms",
"autoprefix",
"container-queries",
"line-clamp",
"radix-ui",
"typography"
],
"markdownEnumDescriptions": [
"`@twind/preset-tailwind`",
"`@phoenix-twind/preset-tailwind`, supports the latest `[email protected]`",
"`@twind/preset-tailwind-forms`",
"`@twind/preset-autoprefix`",
"`@twind/preset-container-queries`",
"`@twind/preset-line-clamp`",
"`@twind/preset-radix-ui`",
"`@twind/preset-typography`"
]
},
"description": "Preset configurations"
},
"twind-intellisense.configPath": {
"type": "string",
"markdownDescription": "**This should be specified relative to the workspace root.**\n\n1. You can specify the full path to the configuration file, e.g., `'path/to/twind.config.js'`\n\n2. You can specify the directory containing the configuration file, e.g., `'path/to/'` (it will automatically look for `twind.config.js` or `twind.config.ts` in that directory) \n\n3. If not specified, it will default to looking for `'twind.config.(js|ts)'` in the workspace root directory \n\nAdditionally, even on Windows systems, always use forward slashes (`/`) as path separators"
},
"twind-intellisense.colorPreview": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": true,
"description": "Enable color preview"
}
}
},
"twind-intellisense.classExtraction": {
"type": "object",
"properties": {
"prefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prefixes to extract classes, parameter type is a regex string, e.g., \"class(Name)?=\""
},
"ignorePrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prefixes to ignore classes, parameter type is a regex string, e.g., \"css(?=`|()\""
}
}
}
}
}
},
"scripts": {
"clean": "rimraf node_modules",
"build": "tsup",
"dev": "tsup --watch src",
"type-check": "tsc",
"yalc-update": "yalc update && tsx scripts/patch-yalc && pnpm i",
"vsce-package": "run-s build && tsx scripts/vsce-package",
"vsce-publish": "run-s build && tsx scripts/vsce-package --publish"
},
"devDependencies": {
"@ctrl/tinycolor": "^4.1.0",
"@phoenix-twind/intellisense": "^1.1.4-alpha.5",
"@phoenix-twind/preset-tailwind": "^1.2.0-alpha.1",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/node20": "^20.1.4",
"@twind/core": "^1.1.3",
"@twind/preset-autoprefix": "^1.0.7",
"@twind/preset-container-queries": "^1.0.7",
"@twind/preset-line-clamp": "^1.0.7",
"@twind/preset-radix-ui": "^1.0.7",
"@twind/preset-tailwind": "^1.1.4",
"@twind/preset-tailwind-forms": "^1.1.2",
"@twind/preset-typography": "^1.0.7",
"@types/fs-extra": "^11.0.1",
"@types/lodash-es": "^4.17.12",
"@types/vscode": "^1.70.0",
"@vscode-use/utils": "^0.1.6",
"@vscode/vsce": "^2.30.0",
"execa": "^7.1.1",
"fs-extra": "^11.1.1",
"glob": "^11.0.0",
"lodash-es": "^4.17.21",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"tsup": "^8.1.0",
"tsx": "^4.16.2",
"type-fest": "^4.21.0",
"typescript": "^5.5.3",
"unconfig": "^0.3.7"
},
"pnpm": {
"patchedDependencies": {
"@twind/[email protected]": "patches/@[email protected]",
"@twind/[email protected]": "patches/@[email protected]",
"@twind/[email protected]": "patches/@[email protected]",
"@twind/[email protected]": "patches/@[email protected]",
"@twind/[email protected]": "patches/@[email protected]",
"@phoenix-twind/intellisense": "patches/@phoenix-twind__intellisense.patch",
"@phoenix-twind/preset-tailwind": "patches/@phoenix-twind__preset-tailwind.patch"
}
}
}