-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
126 lines (126 loc) · 3.52 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
{
"publisher": "simonhe",
"name": "vscode-tailwind-magic",
"displayName": "vscode-tailwind-magic",
"version": "1.0.58",
"packageManager": "[email protected]",
"description": "vscode-tailwind-magic",
"author": "Simon He <https://github.com/Simon-He95>",
"license": "MIT",
"funding": "https://github.com/sponsors/Simon-He95",
"homepage": "https://github.com/Simon-He95/vscode-tailwind-magic#readme",
"repository": {
"type": "git",
"url": "https://github.com/Simon-He95/vscode-tailwind-magic"
},
"bugs": {
"url": "https://github.com/Simon-He95/vscode-tailwind-magic/issues"
},
"sponsor": {
"url": "https://github.com/Simon-He95/sponsor"
},
"keywords": [
"tailwind",
"tailwindcss",
"css",
"intellisense",
"autocomplete",
"vscode"
],
"categories": [
"Other"
],
"main": "./dist/index.js",
"icon": "icon.png",
"files": [
"dist"
],
"engines": {
"vscode": "^1.77.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"configuration": {
"type": "object",
"title": "tailwindMagic",
"properties": {
"tailwindMagic.variantGroup": {
"type": "boolean",
"default": true,
"description": "Enable/disable transform hover:(x1 x2) to hover:x1 hover:x2"
},
"tailwindMagic.strictMode": {
"type": "boolean",
"default": false,
"description": "if true bg#fff or bgrgba(0,0,0,.0) will transform bg-[#fff] or bg-[rgba(0,0,0,.0)]"
},
"tailwindMagic.attributifyMode": {
"type": "boolean",
"default": true,
"description": "if true the attribute bg#fff will transform class=\"bg-[#fff]\""
},
"tailwindMagic.presets": {
"type": "array",
"default": [],
"description": "set transform rules"
},
"tailwindMagic.code": {
"type": "string",
"default": "",
"description": "activation code"
},
"tailwindMagic.aggressiveMode": {
"type": "boolean",
"default": false,
"description": "After turning on aggressive mode, it will be more abbreviated, such as t1 -> top-1"
},
"tailwindMagic.highlight": {
"type": "boolean",
"default": true,
"description": "match tailwindcss synatx will have underline"
}
}
},
"commands": [
{
"command": "vscode-tailwind-magic.activation",
"title": "activation vscode-tailwind-magic"
}
]
},
"scripts": {
"dev": "tsup src/index.ts --external vscode,jsonc-parser",
"test": "vitest",
"build": "tsup src/index.ts --external vscode,jsonc-parser --minify",
"pack": "vsce package --no-dependencies",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"publish": "vsce publish --no-dependencies",
"typecheck": "tsc --noEmit",
"release": "pnpm run build && bumpp && pnpm run publish"
},
"devDependencies": {
"@antfu/eslint-config": "^2.25.1",
"@types/node": "^18.19.44",
"@types/vscode": "1.77.0",
"@vscode-use/utils": "0.1.14",
"@vue/compiler-sfc": "3.3.4",
"bumpp": "^9.5.1",
"eslint": "^8.57.0",
"esno": "^0.16.3",
"fast-glob": "^3.3.2",
"jiti": "^1.21.6",
"local-pkg": "^0.5.0",
"pnpm": "^8.15.9",
"rimraf": "^4.4.1",
"sucrase": "^3.35.0",
"tailwindcss": "^3.4.9",
"transform-to-tailwindcss-core": "^0.0.19",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"vitest": "^2.0.5",
"vsce": "^2.15.0"
}
}