-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpackage.json
170 lines (170 loc) · 6.5 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "vscode-python-test-adapter",
"displayName": "Python Test Explorer for Visual Studio Code",
"description": "Run your Python tests in the Sidebar of Visual Studio Code",
"icon": "img/icon.png",
"author": "Nikolay Kondratyev",
"publisher": "littlefoxteam",
"version": "0.8.2",
"license": "MIT",
"homepage": "https://github.com/kondratyev-nv/vscode-python-test-adapter",
"repository": {
"type": "git",
"url": "https://github.com/kondratyev-nv/vscode-python-test-adapter.git"
},
"bugs": {
"url": "https://github.com/kondratyev-nv/vscode-python-test-adapter/issues"
},
"badges": [
{
"url": "https://github.com/kondratyev-nv/vscode-python-test-adapter/workflows/GitHub%20Actions%20CI/badge.svg",
"href": "https://github.com/kondratyev-nv/vscode-python-test-adapter/actions?query=workflow%3A%22GitHub+Actions+CI%22+branch%3Amaster",
"description": "Continuous integration (Travis)"
},
{
"url": "https://dev.azure.com/kondratyev-nv/Python%20Test%20Explorer%20for%20Visual%20Studio%20Code/_apis/build/status/Python%20Test%20Explorer%20for%20Visual%20Studio%20Code%20CI?branchName=master",
"href": "https://dev.azure.com/kondratyev-nv/Python%20Test%20Explorer%20for%20Visual%20Studio%20Code/_build/latest?definitionId=1?branchName=master",
"description": "Continuous integration (Azure Pipelines)"
}
],
"categories": [
"Other"
],
"keywords": [
"python",
"test",
"testing",
"unittest",
"pytest"
],
"scripts": {
"clean": "rimraf out *.vsix **/*.pyc **/__pycache__ **/.pytest_cache **/.some_venv **/.venv",
"build": "tsc",
"postbuild": "copyfiles \"resources/python/**/*.py\" out",
"watch": "tsc -w",
"lint": "tslint --project tsconfig.json",
"format": "prettier --write src test",
"pretest": "npm run build",
"test": "cross-env SOME_PROCESS_VARIABLE=HelloFromProcessEnv cross-env CODE_TESTS_WORKSPACE=./test/test_samples/samples-workspace.code-workspace node ./out/test/vscode-runner.js",
"prepackage": "npm run build",
"package": "vsce package"
},
"extensionDependencies": [
"ms-python.python",
"hbenl.vscode-test-explorer"
],
"dependencies": {
"argparse": "^2.0.1",
"dotenv": "^16.0.0",
"iconv-lite": "^0.6.3",
"js-base64": "^3.7.2",
"jsonc-parser": "3.0.0",
"tmp": "^0.2.1",
"tmp-promise": "^3.0.3",
"tslib": "^2.3.1",
"untildify": "^4.0.0",
"vscode-test-adapter-api": "^1.9.0",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@types/argparse": "^2.0.10",
"@types/chai": "^4.3.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.23",
"@types/semver": "^7.3.9",
"@types/sinon": "^10.0.16",
"@types/tmp": "^0.2.3",
"@types/vscode": "^1.59.0",
"@types/xml2js": "^0.4.9",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.15.0",
"chai": "^4.3.6",
"copyfiles": "2.4.1",
"cross-env": "^7.0.3",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"sinon": "^15.2.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.3.0",
"typescript": "^4.6.3"
},
"main": "out/src/main.js",
"engines": {
"vscode": "^1.59.0"
},
"activationEvents": [
"onLanguage:python",
"onView:test-explorer",
"onCommand:test-explorer.reload",
"onCommand:test-explorer.run-all",
"onCommand:test-explorer.run-file",
"onCommand:test-explorer.run-test-at-cursor",
"onCommand:test-explorer.rerun",
"onCommand:test-explorer.debug-test-at-cursor",
"onCommand:test-explorer.redebug",
"onCommand:test-explorer.cancel",
"onStartupFinished"
],
"contributes": {
"configuration": {
"properties": {
"pythonTestExplorer.testFramework": {
"type": [
"string",
"null"
],
"enum": [
"unittest",
"pytest",
"testplan",
null
],
"default": null,
"description": "Test framework to use for Python Test Explorer (default is null and Python extension settings are used)",
"scope": "resource"
},
"pythonTestExplorer.outputs.collectOutputs": {
"type": "boolean",
"default": true,
"description": "Collect test run outputs in separate output channel"
},
"pythonTestExplorer.outputs.showOutputsOnRun": {
"type": "boolean",
"default": false,
"description": "Activate test outputs channel on run"
},
"pythonTestExplorer.testplanPath": {
"type": "string",
"default": "test_plan.py",
"description": "Relative path to testplan main suite.",
"scope": "resource"
},
"pythonTestExplorer.testplanArgs": {
"type": "array",
"description": "Arguments passed in. Each argument is a separate item in the array.",
"default": [],
"items": {
"type": "string"
},
"scope": "resource"
},
"pythonTestExplorer.testplanUseLegacyDiscovery": {
"type": "boolean",
"default": true,
"description": "Use old style of test listing for discovery (compatible with older versions of Testplan)",
"scope": "resource"
},
"pythonTestExplorer.testplanEnabled": {
"type": "boolean",
"default": false,
"description": "Enable testing using Testplan. Note that Testplan is only supported for Python 3.7+.",
"scope": "resource"
}
}
}
}
}