generated from hbenl/vscode-example-test-adapter
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
134 lines (134 loc) · 4.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
{
"name": "vscode-tgstation-test-adapter",
"displayName": "Tgstation Test Explorer",
"description": "Run your tgstation tests in the Sidebar of Visual Studio Code",
"icon": "img/icon.png",
"author": "Daniel Hultgren <[email protected]>",
"publisher": "Donkie",
"version": "1.2.3",
"license": "MIT",
"homepage": "https://github.com/Donkie/vscode-tgstation-test-adapter",
"repository": {
"type": "git",
"url": "https://github.com/Donkie/vscode-tgstation-test-adapter.git"
},
"bugs": {
"url": "https://github.com/Donkie/vscode-tgstation-test-adapter/issues"
},
"categories": [
"Other"
],
"keywords": [
"test",
"testing",
"tgstation",
"byond",
"dm"
],
"main": "out/main.js",
"scripts": {
"clean": "rimraf out *.vsix",
"build": "tsc",
"watch": "tsc -w",
"rebuild": "npm run clean && npm run build",
"package": "vsce package",
"publish": "vsce publish"
},
"dependencies": {
"@types/node": "^14.17.4",
"ps-node": "^0.1.6",
"tslib": "^1.14.1"
},
"devDependencies": {
"@types/ps-node": "^0.1.0",
"@types/vscode": "~1.59.0",
"typescript": "^3.9.10",
"vsce": "^1.95.0"
},
"engines": {
"vscode": "^1.59.0"
},
"activationEvents": [
"workspaceContains:*.dme"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Tgstation Test Explorer",
"properties": {
"tgstationTestExplorer.logpanel": {
"description": "Write diagnostic logs to an output panel",
"type": "boolean",
"scope": "resource",
"default": true
},
"tgstationTestExplorer.logfile": {
"description": "Write diagnostic logs to the given file",
"type": "string",
"scope": "resource",
"default": ""
},
"tgstationTestExplorer.apps.dreammaker": {
"type": "string",
"description": "Path to dm.exe",
"format": "uri",
"scope": "machine",
"default": "C:/Program Files (x86)/BYOND/bin/dm.exe"
},
"tgstationTestExplorer.apps.dreamdaemon": {
"type": "string",
"description": "Path to dreamdaemon.exe",
"format": "uri",
"scope": "machine",
"default": "C:/Program Files (x86)/BYOND/bin/dreamdaemon.exe"
},
"tgstationTestExplorer.project.DMEName": {
"type": "string",
"description": "Name of the .dme project file",
"scope": "resource",
"default": "tgstation.dme"
},
"tgstationTestExplorer.project.defines": {
"type": "array",
"description": "#defines to set for the project. These are injected to the beginning of the .dme file before compiling.",
"scope": "resource",
"default": [
"#define CIBUILDING"
]
},
"tgstationTestExplorer.project.unitTestsDefinitionRegex": {
"type": "string",
"description": "A regex pattern used for locating unit test definitions. Must contain one capture group, which should return the id of the test.",
"scope": "resource",
"default": "/?datum/unit_test/([\\w/]+)/Run\\s*\\("
},
"tgstationTestExplorer.project.unitTestsFocusDefine": {
"type": "string",
"description": "A definition used in autogenerted dm focus file for every unit test meant to be active this run. Must contain $0 for unit test typepath substitution.",
"scope": "resource",
"default": "TEST_FOCUS($0)"
},
"tgstationTestExplorer.project.resultsType": {
"type": "string",
"description": "How test results are interpreted.",
"scope": "resource",
"default": "json",
"enum": [
"log",
"json"
],
"enumDescriptions": [
"Parsing unit test log files",
"Parsing the new standardized unit_tests.json file"
]
},
"tgstationTestExplorer.project.preCompile": {
"type": "array",
"description": "Commands to run before DM compiler starts. Paths are relative to workspace folder.",
"scope": "resource",
"default": []
}
}
}
}
}