-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.47 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
{
"name": "tailwind-class-genie",
"displayName": "Tailwind Class Genie",
"description": "Find the right Tailwind class easily.",
"version": "0.0.6",
"icon": "media/logo.png",
"publisher": "yannxaver",
"repository": {
"type": "git",
"url": "https://github.com/yannxaver/tailwind-class-genie"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"main": "./dist/extension.js",
"scripts": {
"dev": "node esbuild.js --watch",
"tsc": "tsc --noEmit --watch",
"lint": "eslint src --ext ts",
"publish-patch": "vsce publish patch --no-dependencies",
"publish-minor": "vsce publish minor --no-dependencies",
"package": "pnpm run check-types && pnpm run lint && node esbuild.js --production",
"vscode:prepublish": "pnpm run package",
"compile": "pnpm run check-types && pnpm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"watch-tests": "tsc -p . -w --outDir out",
"compile-tests": "tsc -p . --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"check-types": "tsc --noEmit",
"test": "vscode-test",
"scrape-categories": "npx playwright test scraping/categories.spec.ts",
"scrape-classes": "npx playwright test scraping/classes.spec.ts"
},
"contributes": {
"commands": [
{
"command": "tailwind-class-genie.switchClassUp",
"title": "Switch Tailwind Class Up"
},
{
"command": "tailwind-class-genie.switchClassDown",
"title": "Switch Tailwind Class Down"
}
],
"keybindings": [
{
"command": "tailwind-class-genie.switchClassUp",
"key": "ctrl+alt+up",
"mac": "ctrl+alt+up",
"when": "editorTextFocus"
},
{
"command": "tailwind-class-genie.switchClassUp",
"key": "ctrl+alt+j",
"mac": "ctrl+alt+j",
"when": "editorTextFocus"
},
{
"command": "tailwind-class-genie.switchClassDown",
"key": "ctrl+alt+down",
"mac": "ctrl+alt+down",
"when": "editorTextFocus"
},
{
"command": "tailwind-class-genie.switchClassDown",
"key": "ctrl+alt+k",
"mac": "ctrl+alt+k",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Tailwind Class Switcher",
"properties": {
"tailwind-class-genie.autoSave": {
"type": "boolean",
"default": true,
"description": "Automatically save the file after switching the class."
},
"tailwind-class-genie.autoSaveDelay": {
"type": "number",
"default": 400,
"description": "Delay in milliseconds before saving the file after switching the class."
}
}
}
},
"devDependencies": {
"@playwright/test": "^1.46.0",
"@types/mocha": "^10.0.7",
"@types/node": "~20.14.14",
"@types/vscode": "1.80.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.21.5",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.5.4"
},
"packageManager": "pnpm@8.14.2+sha512.7a7cb246d2a0e244120609511e8b4adae24b224ac4592e7c0da5eb694891b435376191022bfbb8ef9c033240ee8a1a0193b5e0fe0b712e04e92f3a2d7170b89c",
"dependencies": {
"@types/bun": "^1.1.6",
"tailwindcss": "^3.4.8"
}
}