-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 4.2 KB
/
package.json
File metadata and controls
136 lines (136 loc) · 4.2 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
128
129
130
131
132
133
134
135
136
{
"name": "vscode-syntax-tree",
"displayName": "Syntax Tree",
"description": "VSCode support for the syntax_tree gem",
"icon": "doc/logo.png",
"version": "0.5.1",
"publisher": "ruby-syntax-tree",
"repository": {
"type": "git",
"url": "https://github.com/ruby-syntax-tree/vscode-syntax-tree.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ruby-syntax-tree/vscode-syntax-tree/issues"
},
"packageManager": "yarn@1.22.19",
"engines": {
"vscode": "^1.75.0"
},
"activationEvents": [
"onLanguage:haml",
"onLanguage:ruby",
"workspaceContains:Gemfile.lock"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "syntaxTree.start",
"title": "Syntax Tree: Start"
},
{
"command": "syntaxTree.stop",
"title": "Syntax Tree: Stop"
},
{
"command": "syntaxTree.restart",
"title": "Syntax Tree: Restart"
},
{
"command": "syntaxTree.showOutputChannel",
"title": "Syntax Tree: Show Output Channel"
},
{
"command": "syntaxTree.visualize",
"title": "Syntax Tree: Visualize"
}
],
"configuration": [
{
"type": "object",
"title": "Syntax Tree",
"properties": {
"syntaxTree.additionalPlugins": {
"default": [],
"markdownDescription": "Registers [extra behaviors](https://github.com/ruby-syntax-tree/syntax_tree#plugins) with the language server.",
"items": {
"type": "string"
},
"type": "array"
},
"syntaxTree.ignoreFiles": {
"default": "",
"markdownDescription": "A glob pattern of files to ignore for formatting.",
"type": "string"
},
"syntaxTree.printWidth": {
"markdownDescription": "The width to be used when formatting code.",
"type": "number"
},
"syntaxTree.singleQuotes": {
"default": false,
"markdownDescription": "Uses single-quoted strings when possible.",
"type": "boolean"
},
"syntaxTree.trailingComma": {
"default": false,
"markdownDescription": "Adds a trailing comma to multi-line array literals, hash literals, and method parameters.",
"type": "boolean"
}
}
},
{
"type": "object",
"title": "Advanced",
"properties": {
"syntaxTree.advanced.commandPath": {
"default": "",
"markdownDescription": "Absolute path to stree executable. Overrides default search order.\n\nSupports variables `${userHome}`, `${pathSeparator}`, and `${cwd}`",
"type": "string"
}
}
}
],
"colors": []
},
"scripts": {
"clean": "rm -rf ./out",
"compile": "yarn run esbuild-base --sourcemap",
"esbuild-base": "esbuild --bundle --external:vscode --external:vscode-languageclient --format=cjs --outfile=out/extension.js --platform=node src/extension.ts",
"lint": "eslint .",
"package": "vsce package --no-yarn --githubBranch main",
"publish": "vsce publish --no-yarn --githubBranch main",
"test": "node ./out/test/runTest.js",
"test-compile": "tsc -p ./",
"test-watch": "tsc --watch -p ./",
"vscode:prepublish": "yarn run esbuild-base -- --minify",
"watch": "yarn run esbuild-base --sourcemap --watch"
},
"dependencies": {
"vscode-languageclient": "9.0.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/mocha": "^10.0.0",
"@types/node": "^25.0.0",
"@types/vscode": "^1.75.0",
"@typescript-eslint/eslint-plugin": "^8.37.0",
"@typescript-eslint/parser": "^8.37.0",
"@vscode/test-electron": "^2.2.0",
"@vscode/vsce": "^3.6.0",
"esbuild": "^0.27.0",
"eslint": "^10.0.0",
"glob": "^13.0.0",
"globals": "^17.0.0",
"mocha": "^11.0.1",
"typescript": "=5.9.3",
"typescript-eslint": "^8.37.0"
},
"__metadata": {
"id": "b46118f9-0f6f-4320-9e2e-75c96492b4cb",
"publisherDisplayName": "ruby-syntax-tree",
"publisherId": "63942dce-de09-44d8-b863-4a1dbd5508c6",
"isPreReleaseVersion": false
}
}