/
package.json
115 lines (115 loc) · 3.3 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
{
"publisher": "simonhe",
"name": "vscode-tailwind-magic",
"displayName": "vscode-tailwind-magic",
"version": "1.0.29",
"packageManager": "pnpm@8.1.1",
"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"
},
"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"
}
}
},
"commands": [
{
"command": "vscode-tailwind-magic.activation",
"title": "activation vscode-tailwind-magic"
}
]
},
"scripts": {
"dev": "tsup src/index.ts --external vscode",
"test": "vitest",
"build": "tsup src/index.ts --external vscode --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.8.0",
"@types/node": "^18.15.11",
"@types/vscode": "^1.77.0",
"@unocss/core": "^0.56.5",
"@unocss/preset-attributify": "^0.56.5",
"@unocss/preset-uno": "^0.56.5",
"@vscode-use/utils": "^0.0.94",
"@vue/compiler-sfc": "^3.3.4",
"axios": "^1.6.3",
"bumpp": "^9.1.0",
"eslint": "^8.57.0",
"esno": "^0.16.3",
"fast-glob": "^3.3.2",
"node-machine-id": "^1.1.12",
"pnpm": "^8.1.1",
"rimraf": "^4.4.1",
"tailwindcss": "^3.3.3",
"transform-to-tailwindcss-core": "^0.0.6",
"tsup": "^6.7.0",
"typescript": "^5.0.3",
"vitest": "^0.29.8",
"vsce": "^2.15.0"
}
}