-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
147 lines (147 loc) · 4.33 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
{
"name": "@zowe/mq-for-zowe-cli",
"version": "4.0.0",
"description": "IBM MQ Plug-in for Zowe CLI",
"repository": {
"type": "git",
"url": "https://github.com/zowe/zowe-cli-mq-plugin.git"
},
"main": "lib/index.js",
"files": [
"lib",
"npm-shrinkwrap.json"
],
"publishConfig": {
"registry": "https://zowe.jfrog.io/zowe/api/npm/npm-local-release/"
},
"scripts": {
"prebuild": "npm run clean && npm run lint && echo Using TypeScript && tsc --version",
"build": "node scripts/updateLicense.js && tsc --pretty && npm run checkTestsCompile && npm run circularDependencyCheck",
"prepublishOnly": "npm run build",
"installPlugin": "npm install && npm run clean && npm run build && zowe plugins install .",
"checkTestsCompile": "echo \"Checking that test source compiles...\" && tsc --project __tests__/test-tsconfig.json --noEmit ",
"circularDependencyCheck": "madge -c lib",
"clean": "rimraf lib",
"watch": "tsc --pretty --watch",
"lint": "eslint \"src/**/*.ts\" \"**/__tests__/**/*.ts\"",
"lint:src": "eslint \"src/**/*.ts\" --ignore-pattern \"**/__tests__/**/*.ts\"",
"lint:tests": "eslint \"**/__tests__/**/*.ts\"",
"test": "npm run test:unit && npm run test:integration && npm run test:system",
"test:integration": "env-cmd -f __tests__/__resources__/env/integration.env jest .*/__integration__/.* ",
"test:system": "env-cmd -f __tests__/__resources__/env/system.env jest .*/__system__/.* --coverage false --runInBand",
"test:unit": "env-cmd -f __tests__/__resources__/env/unit.env jest --coverage --testPathIgnorePatterns \".*/__system__/.*\" \"__integration__\"",
"typedoc": "typedoc --out ./docs/typedoc/ ./src/ --disableOutputCheck"
},
"imperative": {
"configurationModule": "lib/imperative.js"
},
"peerDependencies": {
"@zowe/imperative": "^8.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.19.17",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@zowe/cli": "^8.0.0",
"@zowe/cli-test-utils": "^8.0.0",
"@zowe/imperative": "^8.0.0",
"chalk": "^4.1.2",
"env-cmd": "^10.1.0",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-unused-imports": "^3.1.0",
"glob": "^7.1.6",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"jest-environment-node": "^29.7.0",
"jest-html-reporter": "^3.10.2",
"jest-junit": "^16.0.0",
"jest-sonar-reporter": "^2.0.0",
"jest-stare": "^2.5.1",
"madge": "^6.1.0",
"rimraf": "^5.0.0",
"ts-jest": "^29.1.2",
"ts-node": "^7.0.1",
"typedoc": "^0.25.9",
"typescript": "^5.3.3"
},
"jest": {
"modulePathIgnorePatterns": [
"__tests__/__snapshots__/"
],
"testResultsProcessor": "jest-stare",
"transform": {
".(ts)": [
"ts-jest"
]
},
"testRegex": "(test|spec)\\.ts$",
"moduleFileExtensions": [
"ts",
"js"
],
"testPathIgnorePatterns": [
"<rootDir>/__tests__/__results__",
"./__tests__/setUpJest.js"
],
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*.ts",
"!**/__tests__/**",
"!**/index.ts",
"!**/main.ts"
],
"collectCoverage": false,
"coverageReporters": [
"json",
"lcov",
"text",
"cobertura"
],
"coverageDirectory": "<rootDir>/__tests__/__results__/unit/coverage",
"snapshotFormat": {
"escapeString": true,
"printBasicPrototype": true
},
"reporters": [
"default",
"jest-stare",
[
"jest-junit",
{
"outputDirectory": "__tests__/__results__",
"reportTestSuiteErrors": true
}
],
[
"jest-html-reporter",
{
"pageTitle": "MQ Config Plugin Test Results",
"outputPath": "__tests__/__results__/results.html",
"includeFailureMsg": true
}
],
[
"github-actions",
{
"silent": false
}
]
]
},
"jest-stare": {
"additionalResultsProcessors": [
"jest-junit",
"jest-html-reporter"
],
"coverageLink": "../coverage/lcov-report/index.html",
"resultDir": "__tests__/__results__/jest-stare"
},
"author": "Zowe",
"license": "EPL-2.0",
"engines": {
"node": ">=18.12.0"
}
}