-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
137 lines (137 loc) · 4.13 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
{
"name": "@zowe/zos-ftp-for-zowe-cli",
"version": "3.0.0",
"author": "Zowe",
"repository": {
"type": "git",
"url": "https://github.com/zowe/zowe-cli-ftp-plugin.git"
},
"files": [
"lib",
"npm-shrinkwrap.json"
],
"description": "Data set, USS, and Jobs functionality via FTP for Zowe CLI",
"main": "lib/index.js",
"scripts": {
"build": "npm run clean && npm run license && tsc --pretty && npm run lint && npm run checkTestsCompile && npm run circularDependencyCheck",
"clean": "rimraf lib",
"license": "node ./scripts/updateLicense.js",
"watch": "tsc --pretty --watch",
"lint": "eslint \"src/**/*.ts\" \"**/__tests__/**/*.ts\"",
"lint:src": "eslint \"src/**/*.ts\" --ignore-pattern \"**/__tests__/**/*.ts\"",
"lint:tests": "eslint \"**/__tests__/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"checkTestsCompile": "echo \"Checking that test source compiles...\" && tsc --project __tests__/test-tsconfig.json --noEmit ",
"circularDependencyCheck": "madge -c lib",
"test": "npm run test:unit && npm run test:integration && npm run test:system",
"test:unit": "env-cmd -f __tests__/__resources__/env/unit.env jest .*/__unit__/.* --coverage",
"test:integration": "env-cmd -f __tests__/__resources__/env/integration.env jest .*/__integration__/.* --no-coverage",
"test:system": "env-cmd -f __tests__/__resources__/env/system.env jest .*/__system__/.* --no-coverage --runInBand",
"installPlugin": "npm install && rimraf lib && npm run build && zowe plugins install .",
"typedoc": "typedoc --out ./docs/typedoc/ ./src/ --disableOutputCheck"
},
"imperative": {
"configurationModule": "lib/imperative.js"
},
"publishConfig": {
"registry": "https://zowe.jfrog.io/zowe/api/npm/npm-local-release/"
},
"peerDependencies": {
"@zowe/imperative": "^8.0.0"
},
"dependencies": {
"zos-node-accessor": "2.0.11"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.19.21",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@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",
"glob": "^7.2.3",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"jest-environment-node": "^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",
"typedoc": "^0.25.10",
"typescript": "^5.3.3"
},
"jest": {
"modulePathIgnorePatterns": [
"__tests__/__snapshots__/"
],
"setupFilesAfterEnv": [
"./__tests__/setUpJest.js"
],
"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,
"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": "FTP 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"
},
"license": "EPL-2.0"
}