-
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.22 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.22 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": "packwerk-vscode",
"version": "0.0.5",
"publisher": "Gusto",
"displayName": "Packwerk",
"description": "execute packwerk check for current Ruby code.",
"engines": {
"vscode": "^1.32.0"
},
"icon": "images/package.png",
"repository": {
"type": "git",
"url": "https://github.com/Gusto/packwerk-vscode.git"
},
"categories": [
"Programming Languages",
"Linters"
],
"activationEvents": [
"onLanguage:ruby",
"onCommand:ruby.packwerk"
],
"main": "./out/src/extension",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"format": "tsfmt -r src/*",
"compile": "tsc -watch -p ./",
"lint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
"test": "node ./out/test/runTests"
},
"contributes": {
"languages": [
{
"id": "ruby",
"extensions": [
".rb"
]
},
{
"id": "gemfile",
"filenamePatterns": [
"Gemfile"
]
}
],
"commands": [
{
"command": "ruby.packwerk",
"title": "Packwerk: Run packwerk check"
}
],
"configuration": {
"type": "object",
"title": "Packwerk",
"properties": {
"ruby.packwerk.executable": {
"type": "string",
"default": "bin/packwerk check",
"description": "execution path of packwerk check. `bin/packwerk check` is the default. Other example is `bundle exec packwerk check`"
},
"ruby.packwerk.onSave": {
"type": "boolean",
"default": true,
"description": "execute packwerk on save, default true"
},
"ruby.packwerk.showWarnings": {
"type": "boolean",
"default": false,
"description": "show warnings, default false"
}
}
}
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@types/chai": "^4.3.0",
"@types/mocha": "^10.0.0",
"@types/node": "^22.0.0",
"@types/sinon": "^17.0.0",
"@types/vscode": "^1.32.0",
"@vscode/test-electron": "^2.0.0",
"chai": "^4.4.0",
"eslint": "^8.57.0",
"mocha": "^10.0.0",
"proxyquire": "^2.1.3",
"sinon": "^19.0.0",
"typescript": "^5.0.0"
}
}