-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.35 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.35 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
{
"name": "hono",
"displayName": "Hono",
"description": "VSCode extension for Hono development.",
"version": "0.0.3",
"publisher": "Hono",
"license": "MIT",
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/honojs/vscode"
},
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Debuggers",
"Other"
],
"activationEvents": [
"onLanguage:typescript",
"onLanguage:javascript",
"onLanguage:typescriptreact",
"onLanguage:javascriptreact"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "hono.debug",
"title": "Hono: Debug"
}
],
"configuration": {
"title": "Hono",
"properties": {
"hono.request.enableCodeLens": {
"type": "string",
"enum": [
"auto",
"always",
"disabled"
],
"default": "auto",
"description": "CodeLens behavior: auto (only in files containing `new Hono`), always (all route calls), disabled."
},
"hono.request.nodePath": {
"type": "string",
"default": "node",
"description": "Path to node executable used to run bundled @hono/cli."
},
"hono.request.extraArgs": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Extra args appended to `hono request` and `hono serve`."
}
}
}
},
"scripts": {
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
"vscode:prepublish": "npm run clean && npm run compile",
"compile": "tsc -p .",
"watch": "tsc -watch -p .",
"test": "vitest",
"test:run": "vitest run",
"test:watch": "vitest watch",
"lint": "eslint --ext js,ts src",
"lint:fix": "eslint --ext js,ts src --fix",
"format": "prettier src --check",
"format:fix": "prettier src --write",
"package": "npm run vscode:prepublish && npx @vscode/vsce package"
},
"dependencies": {
"@hono/cli": "^0.1.8",
"typescript": "^5.6.3"
},
"devDependencies": {
"@hono/eslint-config": "^1.1.1",
"@types/node": "^20.11.30",
"@types/vscode": "^1.90.0",
"@vscode/vsce": "^3.0.0",
"eslint": "^9.39.2",
"prettier": "^3.7.4",
"vitest": "^4.0.16"
}
}