forked from infosec-intern/vscode-yara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 5.24 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
{
"name": "yara",
"displayName": "YARA",
"description": "Rich language support for the YARA pattern matching language",
"version": "2.0.0",
"icon": "images/logo.png",
"galleryBanner": {
"color": "#A4A4A4",
"theme": "dark"
},
"publisher": "infosec-intern",
"license": "MIT License - full document in LICENSE.md",
"repository": {
"type": "git",
"url": "https://github.com/infosec-intern/vscode-yara"
},
"bugs": {
"url": "https://github.com/infosec-intern/vscode-yara/issues"
},
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"contributes": {
"languages": [
{
"id": "yara",
"aliases": [
"yara",
"yara-syntax",
"yaralang",
"YARA",
"Yara"
],
"extensions": [
".yara",
".yar"
],
"configuration": "yara/yara.configuration.json"
}
],
"grammars": [
{
"language": "yara",
"scopeName": "source.yara",
"path": "yara/syntaxes/yara.tmLanguage.json"
}
],
"snippets": [
{
"language": "yara",
"path": "yara/snippets/yara.json"
}
],
"configuration": {
"title": "YARA",
"properties": {
"yara.debug": {
"type": "boolean",
"default": false,
"description": "Toggle debug logging to the YARA output channel"
},
"yara.requireImports": {
"type": "boolean",
"default": false,
"description": "When providing suggestions for YARA modules, first require an import statement at the top of the rule file. For example, in order to autocomplete the 'time.now()' method, require 'import \"time\"'. Off by default."
},
"yara.metaEntries": {
"type": "object",
"default": {},
"description": "A set of metadata entries to insert into rules. Empty values will create meta keys with a tabstop, and built-in variables are accepted (though transforms are ignored).",
"maxProperties": 50,
"additionalProperties": true
},
"yara.sortMeta": {
"type": "boolean",
"default": true,
"description": "Sort the metadata entries in alphabetical order by keys. Otherwise, insert keys as listed."
},
"yara.snippets.condition": {
"type": "boolean",
"default": true,
"description": "Enable the condition snippet on YARA rules. Has no effect on the presence of the condition section in the rule snippet."
},
"yara.snippets.meta": {
"type": "boolean",
"default": true,
"description": "Enable the meta snippet on YARA rules. Has no effect on the presence of the meta section in the rule snippet."
},
"yara.snippets.rule": {
"type": "boolean",
"default": true,
"description": "Enable the rule skeleton snippet on YARA rules. Settings for other snippets do not affect the sections provided in this snippet."
},
"yara.snippets.strings": {
"type": "boolean",
"default": true,
"description": "Enable the strings snippet on YARA rules. Has no effect on the presence of the strings section in the rule snippet."
}
}
}
},
"main": "./dist/host/extension.js",
"browser": "./dist/web/extension.js",
"activationEvents": [
"onLanguage:yara"
],
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"compile-tests": "tsc -p ./",
"compile-watch": "webpack --watch",
"lint": "eslint yara/src --ext ts",
"lint-tests": "eslint test --ext ts",
"package": "webpack --mode production --devtool hidden-source-map",
"run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. .",
"test": "node ./out/test/runTests.js",
"test-web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^6.14.13",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"eslint": "^7.21.0",
"mocha": "^8.3.1",
"ts-loader": "^9.2.6",
"typescript": "^3.7.5",
"vscode-test": "^1.5.1",
"webpack": "^5.64.2",
"webpack-cli": "^4.9.1"
},
"dependencies": {
"@types/vscode": "^1.54.0"
}
}