-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
82 lines (82 loc) · 1.9 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
{
"name": "crystal-ameba",
"displayName": "crystal-ameba",
"publisher": "veelenga",
"icon": "assets/ameba.png",
"description": "Ameba extension for Visual Studio Code",
"version": "0.2.1",
"license": "MIT",
"engines": {
"vscode": "^1.75.0"
},
"repository": {
"type": "git",
"url": "https://github.com/crystal-ameba/vscode-crystal-ameba.git"
},
"categories": [
"Programming Languages",
"Linters"
],
"activationEvents": [
"onLanguage:crystal"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "crystal",
"extensions": [
".cr"
]
}
],
"commands": [
{
"command": "crystal.ameba.lint",
"title": "Crystal Ameba: run lints"
},
{
"command": "crystal.ameba.restart",
"title": "Crystal Ameba: restart extension"
},
{
"command": "crystal.ameba.disable",
"title": "Crystal Ameba: disable lints (workspace)"
}
],
"configuration": {
"type": "object",
"title": "Crystal Ameba configuration",
"properties": {
"crystal-ameba.lint-trigger": {
"type": "string",
"description": "When the linter should be executed. Set to `none` to disable automatic linting.",
"default": "type",
"enum": [
"none",
"save",
"type"
]
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "yarn run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^22.9.0",
"@types/vscode": "^1.75.0",
"@types/semver": "^7.5.8",
"tslint": "^6.1.3",
"typescript": "^5.6.3",
"vscode-test": "^1.6.1"
},
"dependencies": {
"semver": "^7.6.3"
}
}