-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
142 lines (142 loc) · 4.1 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
{
"name": "@zowe/db2-for-zowe-cli",
"version": "6.0.0",
"description": "IBM® Db2® Plug-in for Zowe CLI",
"author": "Zowe",
"license": "EPL-2.0",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/zowe/zowe-cli-db2-plugin.git"
},
"publishConfig": {
"registry": "https://zowe.jfrog.io/zowe/api/npm/npm-local-release/"
},
"files": [
"lib",
"npm-shrinkwrap.json"
],
"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",
"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",
"prepublishOnly": "npm run build",
"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:system",
"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__/.*\" ",
"installPlugin": "npm install && npm run clean && npm run build && bright plugins install .",
"typedoc": "typedoc --out ./docs/typedoc/ ./src/ --disableOutputCheck"
},
"imperative": {
"configurationModule": "lib/imperative.js"
},
"dependencies": {
"ibm_db": "3.2.3"
},
"peerDependencies": {
"@zowe/imperative": "^8.0.0"
},
"devDependencies": {
"@types/ibm_db": "^2.0.16",
"@types/jest": "^29.5.12",
"@types/node": "^18.18.2",
"@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",
"env-cmd": "^10.1.0",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-unused-imports": "^3.1.0",
"jest": "^29.7.0",
"jest-environment-node-debug": "^2.0.0",
"jest-html-reporter": "^3.10.2",
"jest-junit": "^16.0.0",
"jest-stare": "^2.5.1",
"madge": "^6.1.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"ts-node": "^7.0.1",
"typedoc": "^0.25.9",
"typescript": "^5.3.3"
},
"jest": {
"setupFilesAfterEnv": [
"./__tests__/setUpJest.js"
],
"modulePathIgnorePatterns": [
"__tests__/__snapshots__/"
],
"testResultsProcessor": "jest-stare",
"transform": {
".(ts)": "ts-jest"
},
"testRegex": "(test|spec)\\.ts$",
"moduleFileExtensions": [
"ts",
"js"
],
"testPathIgnorePatterns": [
"<rootDir>/__tests__/__results__"
],
"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": "DB2 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"
}
}