-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
147 lines (147 loc) · 3.46 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
{
"name": "haml-all",
"displayName": "HAML - All in One",
"description": "Provides all the necessary tools to work with HAML",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#EAEAE1",
"theme": "light"
},
"publisher": "wilfison",
"author": {
"name": "wilfison",
"url": "https://github.com/wilfison"
},
"repository": {
"url": "https://github.com/wilfison/vscode-haml-all"
},
"version": "1.0.8",
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Linters",
"Formatters"
],
"tags": [
"haml",
"ruby",
"lint",
"linter",
"snippets"
],
"keywords": [
"haml",
"ruby",
"lint",
"linter",
"snippets"
],
"recommendations": [
"wilfison.one-dark-dracula",
"Shopify.ruby-lsp"
],
"license": "MIT",
"activationEvents": [
"onLanguage:ruby"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Haml All in One - Linter",
"properties": {
"hamlAll.lintEnabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable haml-lint"
},
"hamlAll.linterExecutablePath": {
"type": "string",
"default": "haml-lint",
"description": "Path to haml-lint executable"
},
"hamlAll.useBundler": {
"type": "boolean",
"default": false,
"description": "Use `bundle exec` to run haml-lint. (If this is true, the 'linterExecutablePath' setting is ignored.)"
},
"hamlAll.formatOnSave": {
"type": "boolean",
"default": true,
"description": "Format HAML files on save (Experimental)"
}
}
},
"commands": [
{
"command": "hamlAll.createPartialFromSelection",
"title": "HAML: Create a partial from selection",
"enablement": "editorLangId == haml"
},
{
"command": "hamlAll.html2Haml",
"title": "HAML: Convert HTML to HAML",
"enablement": "editorLangId =~ /html|erb|haml/"
},
{
"command": "hamlAll.livePreview",
"title": "HAML: Open Live Preview",
"enablement": "editorLangId == haml"
}
],
"languages": [
{
"id": "haml",
"aliases": [
"Ruby Haml",
"Haml",
"haml"
],
"extensions": [
".haml"
],
"configuration": "./haml-configuration.json"
}
],
"grammars": [
{
"language": "haml",
"scopeName": "text.haml",
"path": "./syntaxes/haml.json"
}
],
"snippets": [
{
"language": "haml",
"path": "./snippets/snippets.json"
},
{
"language": "haml",
"path": "./snippets/rails-snippets.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "rm -rf ./out && tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"package": "vsce package"
},
"devDependencies": {
"@types/vscode": "^1.95.0",
"@types/mocha": "^10.0.9",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint": "^9.13.0",
"typescript": "^5.6.3",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}