-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.22 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.22 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
{
"name": "fastapi-vscode",
"displayName": "FastAPI Extension",
"description": "VS Code extension for FastAPI development",
"version": "0.0.1",
"publisher": "FastAPILabs",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/*.py"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "fastapi-vscode.refreshEndpoints",
"title": "Refresh Endpoints",
"icon": "$(refresh)"
},
{
"command": "fastapi-vscode.goToEndpoint",
"title": "Go to Definition"
},
{
"command": "fastapi-vscode.copyEndpointPath",
"title": "Copy Path"
},
{
"command": "fastapi-vscode.goToRouter",
"title": "Go to Router Definition"
},
{
"command": "fastapi-vscode.copyRouterPrefix",
"title": "Copy Prefix"
}
],
"menus": {
"view/title": [
{
"command": "fastapi-vscode.refreshEndpoints",
"when": "view == endpoint-explorer",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "fastapi-vscode.goToEndpoint",
"when": "view == endpoint-explorer && viewItem == route",
"group": "navigation"
},
{
"command": "fastapi-vscode.copyEndpointPath",
"when": "view == endpoint-explorer && viewItem == route",
"group": "navigation"
},
{
"command": "fastapi-vscode.goToRouter",
"when": "view == endpoint-explorer && viewItem == router",
"group": "navigation"
},
{
"command": "fastapi-vscode.copyRouterPrefix",
"when": "view == endpoint-explorer && viewItem == router",
"group": "navigation"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "fastapi",
"title": "FastAPI",
"icon": "$(zap)"
}
]
},
"views": {
"fastapi": [
{
"id": "endpoint-explorer",
"name": "Endpoint Explorer"
}
]
}
},
"scripts": {
"vscode:prepublish": "bun run esbuild.js --production",
"compile": "bun run esbuild.js",
"watch": "bun run esbuild.js --watch",
"package": "vsce package",
"publish:marketplace": "vsce publish",
"lint": "biome check --write --unsafe --no-errors-on-unmatched --files-ignore-unknown=true src/",
"test": "vscode-test",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@types/bun": "latest",
"@types/mocha": "^10.0.10",
"@types/vscode": "^1.85.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.27.2",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"typescript": "^5.0.0"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/fastapi/fastapi-vscode"
},
"bugs": {
"url": "https://github.com/fastapi/fastapi-vscode/issues"
},
"homepage": "https://github.com/fastapi/fastapi-vscode#readme",
"lint-staged": {
"*.{ts,js,json}": [
"biome check --write"
]
}
}