-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
183 lines (183 loc) · 5.49 KB
/
Copy pathpackage.json
File metadata and controls
183 lines (183 loc) · 5.49 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
{
"name": "plainwind",
"displayName": "Plainwind",
"description": "Tailwind to Plain English Translator VSCode Extension",
"version": "0.0.1",
"publisher": "gavbarosee",
"author": "Gav Barosee",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gavbarosee/plainwind"
},
"homepage": "https://github.com/gavbarosee/plainwind#readme",
"bugs": {
"url": "https://github.com/gavbarosee/plainwind/issues"
},
"keywords": [
"tailwind",
"tailwindcss",
"css",
"translator",
"utility",
"classes",
"codelens",
"hover",
"vscode"
],
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Programming Languages",
"Visualization",
"Education",
"Formatters",
"Linters",
"Other"
],
"icon": "icons/icon-128.png",
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:html",
"onLanguage:vue",
"onLanguage:svelte",
"onStartupFinished"
],
"main": "./out/extension.js",
"extensionDependencies": [],
"contributes": {
"commands": [
{
"command": "plainwind.showMenu",
"title": "Plainwind: Show Options Menu"
},
{
"command": "plainwind.toggleEnabled",
"title": "Plainwind: Toggle Extension On/Off"
},
{
"command": "plainwind.chooseDisplayMode",
"title": "Plainwind: Choose Display Mode"
},
{
"command": "plainwind.toggleGroupByCategory",
"title": "Plainwind: Toggle Group By Category"
},
{
"command": "plainwind.toggleCategoryEmojis",
"title": "Plainwind: Toggle Category Emojis"
},
{
"command": "plainwind.disableForFile",
"title": "Plainwind: Disable for This File"
},
{
"command": "plainwind.enableForFile",
"title": "Plainwind: Enable for This File"
},
{
"command": "plainwind.toggleForFile",
"title": "Plainwind: Toggle for This File"
},
{
"command": "plainwind.clearAllPanels",
"title": "Plainwind: Clear All Detail Panels"
},
{
"command": "plainwind.toggleEnhanceVisuals",
"title": "Plainwind: Toggle Visual Enhancements In Detail Panel"
},
{
"command": "plainwind.setCodeLensMaxLength",
"title": "Plainwind: Set CodeLens Truncation Length"
}
],
"configuration": {
"title": "Plainwind",
"properties": {
"plainwind.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable Plainwind translations"
},
"plainwind.displayMode": {
"type": "string",
"default": "codelens",
"enum": [
"codelens",
"hover",
"off"
],
"enumDescriptions": [
"Always show translations above className lines",
"Show translations only on hover",
"Disable all translations"
],
"description": "Choose how to display Tailwind translations"
},
"plainwind.groupByCategory": {
"type": "boolean",
"default": true,
"description": "Group translations by category (Layout, Spacing, Colors, etc.)"
},
"plainwind.showCategoryEmojis": {
"type": "boolean",
"default": false,
"description": "Show emojis next to category names (only works when 'Group By Category' is enabled)"
},
"plainwind.enhanceVisuals": {
"type": "boolean",
"default": false,
"description": "Apply visual enhancements in the detail panel: color text with actual colors, show font weights and sizes visually, display spacing pixel values, apply opacity effects, preview border radius and shadows"
},
"plainwind.autoNavigateToHighlight": {
"type": "boolean",
"default": true,
"description": "Automatically scroll the editor to show highlighted code when a panel is opened or focused"
},
"plainwind.codeLensMaxLength": {
"type": "number",
"default": 180,
"minimum": 50,
"maximum": 500,
"description": "Maximum characters before truncation (cutoff). Translations longer than this will be truncated with '...' and show 'Show full translation' link. Adjust based on your editor width."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ && node fix-imports.js",
"watch": "tsc -watch -p ./",
"prepare": "husky",
"lint": "eslint src tests --ext ts",
"lint:fix": "eslint src tests --ext ts --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"test": "vitest run",
"test:coverage": "vitest run --coverage"
},
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@types/node": "^18.19.130",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^8.46.1",
"@typescript-eslint/parser": "^8.46.1",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"eslint": "^9.37.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"prettier": "^3.6.2",
"typescript": "^5.0.0",
"vitest": "^3.2.4"
},
"dependencies": {
"undici-types": "^5.26.5"
}
}