-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 1.8 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
{
"name": "unginxed-linter",
"description": "A misconfiguration linter for NGINX.",
"author": "George Neo",
"license": "MIT",
"version": "1.0.0",
"categories": [],
"engines": {
"vscode": "^1.75.0"
},
"repository": {
"type": "git",
"url": "https://github.com/georgeneokq/uNGINXed-linter"
},
"activationEvents": [
"onStartupFinished",
"onLanguage:plaintext"
],
"serverInfo": {
"name": "unginxed",
"module": "unginxed"
},
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Example configuration",
"properties": {
"unginxed.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"unginxed.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
},
"commands": [
{
"command": "unginxed.generatePDF",
"title": "Generate PDF Report",
"enablement": "resourceExtname == .conf"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"build-python": "python ./tools/build-python.py",
"build-vsix": "npx -y mkdirp dist && npx -y @vscode/vsce package --out=\"./dist/unginxed-linter.vsix\"",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src --ext .ts,.tsx",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.18.34",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"eslint": "^8.35.0",
"mocha": "^9.2.1",
"typescript": "^5.1.3"
},
"workspaces": ["client"]
}