-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
216 lines (216 loc) · 6.16 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
"name": "svelte-radar",
"displayName": "Svelte Radar",
"description": "Svelte Radar is a powerful Visual Studio Code extension designed to streamline your SvelteKit development experience. It provides a visual overview of your project's routing structure, helping you navigate complex route hierarchies with ease.",
"author": "Harsh Kothari",
"repository": "https://github.com/HarshKothari88/svelte-radar",
"publisher": "harshkothari",
"license": "MIT",
"homepage": "https://github.com/HarshKothari88/svelte-radar#readme",
"icon": "media/svelte_radar_icon.png",
"keywords": [
"svelte",
"sveltekit",
"routes",
"routing",
"navigation",
"file-tree",
"route-visualization",
"developer-tools",
"vscode-extension",
"preview",
"web-development",
"file-explorer",
"path-navigation",
"layout",
"reset-layouts",
"parameter-matcher"
],
"version": "1.0.4",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Visualization",
"Other"
],
"activationEvents": [
"workspaceContains:svelte.config.js",
"workspaceContains:package.json",
"workspaceContains:src/routes"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "svelteRadar.openRoute",
"title": "Open Route",
"category": "Svelte Radar"
},
{
"command": "svelteRadar.refreshRoutes",
"title": "Refresh Routes",
"category": "Svelte Radar",
"icon": "$(refresh)"
},
{
"command": "svelteRadar.openInBrowser",
"title": "Open in Browser",
"category": "Svelte Radar",
"icon": "$(globe)"
},
{
"command": "svelteRadar.openFile",
"title": "Open File",
"category": "Svelte Radar"
},
{
"command": "svelteRadar.toggleViewType",
"title": "Toggle View Type",
"category": "Svelte Radar",
"icon": "$(list-tree)"
},
{
"command": "svelteRadar.search",
"when": "view == routesView && !svelteRadar:hasSearchTerm",
"title": "Search Routes",
"category": "Svelte Radar",
"icon": "$(search)"
},
{
"command": "svelteRadar.clearSearch",
"when": "view == routesView && svelteRadar:hasSearchTerm",
"title": "Clear Search",
"category": "Svelte Radar",
"icon": "$(clear-all)"
},
{
"command": "svelteRadar.toggleSorting",
"title": "Toggle Sorting Type",
"category": "Svelte Radar",
"icon": "$(sort-precedence)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "svelte-radar",
"title": "Svelte Radar",
"icon": "media/svelte_radar_icon.svg"
}
]
},
"views": {
"svelte-radar": [
{
"id": "routesView",
"name": "SvelteKit Routes",
"icon": "$(file-code)",
"contextualTitle": "SvelteKit Routes"
}
]
},
"menus": {
"view/title": [
{
"command": "svelteRadar.search",
"when": "view == routesView && !svelteRadar:hasSearchTerm",
"group": "navigation@1"
},
{
"command": "svelteRadar.clearSearch",
"when": "view == routesView && svelteRadar:hasSearchTerm",
"group": "navigation@1"
},
{
"command": "svelteRadar.refreshRoutes",
"when": "view == routesView",
"group": "navigation"
},
{
"command": "svelteRadar.toggleViewType",
"when": "view == routesView",
"group": "navigation"
},
{
"command": "svelteRadar.toggleSorting",
"when": "view == routesView",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "svelteRadar.openInBrowser",
"when": "view == routesView && !(viewItem == divider || viewItem == spacer)",
"group": "inline"
},
{
"command": "svelteRadar.openFile",
"when": "view == routesView && !(viewItem == divider || viewItem == spacer)",
"group": "inline"
}
]
},
"configuration": {
"title": "Svelte Radar",
"properties": {
"svelteRadar.viewType": {
"type": "string",
"enum": [
"flat",
"hierarchical"
],
"default": "flat",
"description": "Display routes in flat or hierarchical view"
},
"svelteRadar.sortingType": {
"type": "string",
"enum": [
"natural",
"basic"
],
"default": "natural",
"description": "Route sorting type (natural: natural number sorting, basic: basic string comparison)"
}
}
}
},
"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 && npm run create-test-fixtures",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "node ./out/test/runTest.js",
"create-test-fixtures": "node ./out/test/fixtures/create-test-fixtures.js"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.24.0",
"eslint": "^9.16.0",
"fs-extra": "^11.2.0",
"mocha": "^11.0.1",
"npm-run-all": "^4.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
},
"dependencies": {
"glob": "^11.0.0",
"path": "^0.12.7"
}
}