forked from marcoroth/stimulus-lsp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 3.5 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
{
"name": "stimulus-lsp",
"displayName": "Stimulus LSP",
"description": "Intelligent Stimulus tooling",
"license": "MIT",
"pricing": "Free",
"version": "1.0.1",
"icon": "icon.png",
"publisher": "marcoroth",
"author": {
"name": "Marco Roth"
},
"categories": [
"Programming Languages",
"Language Packs",
"Linters"
],
"keywords": [
"Stimulus",
"Hotwire",
"Ruby on Rails"
],
"sponsor": {
"url": "http://github.com/sponsors/marcoroth"
},
"repository": "https://github.com/marcoroth/stimulus-lsp",
"engines": {
"vscode": "^1.43.0"
},
"activationEvents": [
"onLanguage:ruby",
"onLanguage:erb",
"onLanguage:blade",
"onLanguage:php",
"onLanguage:html",
"onLanguage:javascript",
"onLanguage:typescript",
"onView:controllerDefinitions"
],
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Stimulus configuration",
"properties": {
"languageServerStimulus.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "verbose",
"description": "Traces the communication between VS Code and the language server."
}
}
},
"views": {
"explorer": [
{
"id": "controllerDefinitions",
"name": "Stimulus Controllers",
"icon": "assets/stimulus.svg",
"description": "View and inspect detected Stimulus Controllers",
"contextualTitle": "Stimulus Controllers"
}
]
},
"commands": [
{
"command": "controllerDefinitions.refreshEntry",
"title": "Refresh Stimulus Controller Definitions",
"icon": "$(refresh)"
},
{
"command": "controllerDefinitions.registerControllerDefinition",
"title": "Register controller definition on the Stimulus Application",
"icon": "$(add)"
}
],
"menus": {
"view/title": [
{
"command": "controllerDefinitions.refreshEntry",
"when": "view == controllerDefinitions",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "controllerDefinitions.registerControllerDefinition",
"when": "view == controllerDefinitions && viewItem == controllerDefinition-unregistered-importable",
"group": "inline"
}
]
},
"viewsWelcome": [
{
"view": "controllerDefinitions",
"contents": "No Stimulus Controller found [learn more](https://stimulus.hotwired.dev/handbook/installing)."
}
]
},
"scripts": {
"vscode:prepublish": "yarn run build",
"prebuild": "yarn run clean",
"clean": "yarn rimraf client/out && yarn rimraf server/out",
"deploy": "vsce publish --yarn",
"build": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint client/**/*.ts server/**/*.ts --no-ignore",
"format": "yarn lint --fix",
"postinstall": "cd client && yarn install && cd ../server && yarn install && cd ..",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@vscode/vsce": "^2.22.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.2"
}
}