-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
176 lines (176 loc) · 6.51 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
171
172
173
174
175
176
{
"name": "vscode-ibmi-testing",
"displayName": "IBM i Testing",
"description": "IBM i Testing extension for VS Code",
"author": {
"name": "IBM",
"url": "https://github.com/IBM"
},
"publisher": "IBM",
"license": "Apache-2.0",
"version": "1.0.0",
"repository": {
"url": "https://github.com/IBM/vscode-ibmi-testing"
},
"homepage": "https://github.com/IBM/vscode-ibmi-testing/blob/main/README.md",
"bugs": {
"url": "https://github.com/IBM/vscode-ibmi-testing/issues"
},
"keywords": [
"ibmi",
"iseries",
"as400",
"irpgunit"
],
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Testing"
],
"activationEvents": [
"onStartupFinished"
],
"extensionDependencies": [
"halcyontechltd.code-for-ibmi",
"halcyontechltd.vscode-rpgle"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": [
{
"title": "IBM i Testing",
"properties": {
"vscode-ibmi-testing.runOrder": {
"order": 0,
"type": "string",
"default": "*API",
"enum": [
"*API",
"*REVERSE"
],
"enumDescriptions": [
"Run test procedures in the order provided by the system API.",
"Run test procedures in reverse order."
],
"markdownDescription": "Specifies the order for running the test procedures. Useful to check that there is no dependencies between test procedures."
},
"vscode-ibmi-testing.libraryList": {
"order": 1,
"type": "string",
"default": "*CURRENT",
"enum": [
"*CURRENT",
"*JOBD"
],
"enumDescriptions": [
"The current library list is used to execute the unit test suite.",
"The initial library list part of the specified job description is used to execute the unit test suite."
],
"markdownDescription": "Specifies the library list for executing the specified unit test."
},
"vscode-ibmi-testing.jobDescription": {
"order": 2,
"type": "string",
"default": "*DFT",
"markdownDescription": "Specifies the name of the job description that is used to set the library list, when parameter `#vscode-ibmi-testing.libraryList#` is set to `*JOBD`. `*DFT` can be used here to indicate the library of the unit test suite (service program) is searched for job description `RPGUNIT`."
},
"vscode-ibmi-testing.jobDescriptionLibrary": {
"order": 3,
"type": "string",
"default": "",
"markdownDescription": "Specifies the library that is searched for the job description. `*LIBL` can be used here to indicate all libraries in the user and system portions of the job's library list are searched until the first match is found."
},
"vscode-ibmi-testing.reportDetail": {
"order": 4,
"type": "string",
"default": "*BASIC",
"enum": [
"*BASIC",
"*ALL"
],
"enumDescriptions": [
"Full detail for failures and errors, no detail for successes.",
"Full detail in all cases."
],
"markdownDescription": "Specifies how detailed the test run report should be."
},
"vscode-ibmi-testing.createReport": {
"order": 5,
"type": "string",
"default": "*ALLWAYS",
"enum": [
"*ALLWAYS",
"*ERROR",
"*NONE"
],
"enumDescriptions": [
"Creates a report regardless of the test result.",
"Creates a report in case of failures and errors, only.",
"Does not create any report."
],
"markdownDescription": "Specifies whether a report is created."
},
"vscode-ibmi-testing.reclaimResources": {
"order": 6,
"type": "string",
"default": "*NO",
"enum": [
"*NO",
"*ALLWAYS",
"*ONCE"
],
"enumDescriptions": [
"Resources are not reclaimed.",
"Resources are reclaimed after each test case and at the end of the test suite.",
"Resources are reclaimed at the end of the test suite."
],
"markdownDescription": "Specifies when to reclaim resources. Resources, such as open files, can be reclaimed after each test case or at the end of the test suite. This option is useful if the test suite calls OPM programs, which do not set the `*INLR` indicator."
},
"vscode-ibmi-testing.xmlStreamFile": {
"order": 7,
"type": "string",
"default": "/tmp/iRPGUnit_<TSTPGM>-%F.%T.log",
"markdownDescription": "Specifies the path of an XML stream file that contains the result of the unit test. The XML file is created with a format, which can be parsed by a Jenkins build server. Existing files are replaced.\n\nYou can use several replacement variables to produce the name of the XML stream file on the fly. Refer to the documentation for a full list of replacement variables."
},
"vscode-ibmi-testing.productLibrary": {
"order": 8,
"type": "string",
"default": "*LIBL",
"markdownDescription": "Specifies the name of the RPGUnit product library on the host."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"dependencies": {
"@halcyontech/vscode-ibmi-types": "^2.14.5",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.96.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"@types/xml2js": "^0.4.14",
"eslint": "^8.57.0",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4"
}
}