-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
111 lines (111 loc) · 2.7 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
{
"name": "vscode-yls",
"displayName": "YARA Language Server",
"description": "A Visual Studio Code extension for YARA based on YLS (Yara Language Server).",
"author": "Matej Kastak",
"license": "MIT",
"version": "1.4.2",
"repository": {
"type": "git",
"url": "https://github.com/avast/yls"
},
"publisher": "avast-threatlabs-yara",
"categories": [
"Programming Languages",
"Linters",
"Snippets",
"Formatters",
"Other"
],
"keywords": [
"yara",
"yar",
"lsp",
"yls"
],
"engines": {
"vscode": "^1.68.0"
},
"activationEvents": [
"onLanguage:yara"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "YARA",
"properties": {
"yls.executablePath": {
"scope": "machine",
"type": "string",
"default": "",
"description": "Specifies an absolute path to the yls executable. If empty yls is expected to be in $PATH variable. (example: /home/user/yls/env/bin/yls)"
},
"yls.yari.samplesDirectory": {
"scope": "machine",
"type": "string",
"default": "",
"description": "Specifies an absolute path to the directory used to store samples and module data. Used only for local YARI. (example: /home/user/samples)"
}
}
},
"configurationDefaults": {
"[yara]": {
"editor.tabSize": 4,
"editor.insertSpaces": false,
"editor.detectIndentation": false
}
},
"languages": [
{
"id": "yara",
"extensions": [
".yar",
".yara"
],
"aliases": [
"yara",
"Yara",
"YARA",
"YAR",
"Yar",
"yar"
],
"configuration": "./language/config.json"
}
],
"grammars": [
{
"language": "yara",
"scopeName": "source.yara",
"path": "./language/yara.tmLanguage.json"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.0.1",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/vscode": "^1.68.0",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"@vscode/test-electron": "^2.1.3",
"eslint": "^8.16.0",
"glob": "^8.1.0",
"mocha": "^10.0.0",
"ovsx": "^0.5.1",
"typescript": "^4.9.5",
"vsce": "^2.15.0"
},
"dependencies": {
"vscode-languageclient": "^7.0.0"
}
}