-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
183 lines (183 loc) · 5.43 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
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": "livewire-jump",
"displayName": "Livewire Jump",
"description": "A VS Code extension for navigating Laravel/Livewire project files.",
"icon": "images/icon.jpg",
"version": "2.0.1",
"publisher": "pizca",
"homepage": "https://github.com/pizcadesaber/vscode-livewire-jump",
"repository": {
"type": "git",
"url": "https://github.com/pizcadesaber/vscode-livewire-jump.git"
},
"bugs": {
"url": "https://github.com/pizcadesaber/vscode-livewire-jump/issues"
},
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"keywords": [
"Laravel",
"Livewire",
"PHP",
"Autocomplete",
"Blade",
"Component",
"Go To",
"Jump",
"View"
],
"activationEvents": [
"onLanguage:blade",
"onLanguage:php"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": [
{
"title": "Livewire Jump",
"properties": {
"livewire-jump.blade.tag.completion": {
"type": "boolean",
"default": true,
"description": "Enables autocomplete for `<x-` Blade tags."
},
"livewire-jump.blade.tag.hover": {
"type": "boolean",
"default": true,
"description": "Enables Blade component tag hovers."
},
"livewire-jump.blade.tag.link": {
"type": "boolean",
"default": true,
"description": "Enables Blade and Livewire component tag links for Blade templates."
},
"livewire-jump.view.completion": {
"type": "boolean",
"default": true,
"description": "Enables view autocompletion for functions."
},
"livewire-jump.view.dirs": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Sets the identifier. Tags must start with `<`."
},
"default": {
"resources/views:app/View": "",
"resources/views/components:app/View/Components": "x-|components.",
"resources/views/livewire:app/Livewire": "livewire:|livewire.",
"resources/views/livewire/pages:app/Livewire/Pages": "|livewire.pages."
},
"description": "Sets view directories and their associated tags."
},
"livewire-jump.view.hover": {
"type": "boolean",
"default": true,
"description": "Enables view hover."
},
"livewire-jump.view.link": {
"type": "boolean",
"default": true,
"description": "Enables view link."
},
"livewire-jump.view.navigation": {
"type": "boolean",
"default": true,
"description": "Enables `Go to Class` and `Go to View` options for Blade and Livewire components."
}
}
}
],
"commands": [
{
"command": "livewire-jump.clearViews",
"title": "Livewire Jump: Clear Views"
},
{
"command": "livewire-jump.goToClass",
"title": "Go to PHP Class"
},
{
"command": "livewire-jump.goToView",
"title": "Go to Blade View"
},
{
"command": "livewire-jump.refreshViews",
"title": "Refresh Views"
}
],
"menus": {
"commandPalette": [
{
"command": "livewire-jump.goToClass",
"when": "livewire-jump.hasClass"
},
{
"command": "livewire-jump.goToView",
"when": "livewire-jump.hasView"
},
{
"command": "livewire-jump.refreshViews",
"when": "editorLangId == php || editorLangId == blade"
}
],
"editor/context": [
{
"command": "livewire-jump.goToClass",
"when": "livewire-jump.hasClass",
"group": "navigation"
},
{
"command": "livewire-jump.goToView",
"when": "livewire-jump.hasView",
"group": "navigation"
},
{
"command": "livewire-jump.refreshViews",
"when": "editorLangId == php || editorLangId == blade",
"group": "z_commands"
}
],
"statusBar": [
{
"command": "livewire-jump.clearViews",
"alignment": "right",
"text": "Clear Views",
"tooltip": "Clear the cached views"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.96.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"eslint": "^9.16.0",
"esbuild": "^0.24.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.7.2",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}