-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
138 lines (138 loc) · 4.39 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
{
"name": "@zowe/sample-plugin-for-zowe-cli",
"version": "3.0.0",
"description": "A sample plugin for Zowe CLI :)",
"homepage": "https://github.com/zowe/zowe-cli-sample-plugin#readme",
"bugs": {
"url": "https://github.com/zowe/zowe-cli-sample-plugin/issues"
},
"keywords": [
"zowe",
"cli",
"sample",
"plugin"
],
"repository": {
"type": "git",
"url": "https://github.com/zowe/zowe-cli-sample-plugin.git"
},
"main": "lib/index.js",
"files": [
"lib"
],
"publishConfig": {
"registry": "https://zowe.jfrog.io/zowe/api/npm/npm-local-release/"
},
"scripts": {
"build": "tsc --pretty && npm run checkTestsCompile && madge -c lib",
"checkTestsCompile": "echo \"Checking that test source compiles...\" && tsc --project __tests__/test-tsconfig.json --noEmit ",
"prebuild": "npm run clean && npm run lint && echo Using TypeScript && tsc --version",
"clean": "rimraf lib",
"watch": "tsc --pretty --watch",
"prepublishOnly": "npm run build",
"lint": "eslint \"src/**/*.ts\" \"**/__tests__/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" \"**/__tests__/**/*.ts\" --fix",
"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:system": "env-cmd __tests__/__resources__/env/system.env jest .*/__system__/.* --coverage false",
"test:integration": "env-cmd __tests__/__resources__/env/integration.env jest .*/__integration__/.* --coverage false",
"test:unit": "env-cmd __tests__/__resources__/env/unit.env jest --coverage --testPathIgnorePatterns \".*/__system__|__integration__/.*\"",
"installPlugin": "npm install && npm run clean && npm run build && zowe plugins install .",
"server:start": "cd server && json-server db.json --routes routes.json --ro",
"typedoc": "typedoc --out ./docs/typedoc/ ./src/ --disableOutputCheck",
"prepare": "husky"
},
"imperative": {
"configurationModule": "lib/pluginDef.js"
},
"dependencies": {
"@zowe/core-for-zowe-sdk": "^7.29.2",
"@zowe/zosmf-for-zowe-sdk": "^7.29.2"
},
"devDependencies": {
"@types/fs-extra": "^8.1.5",
"@types/jest": "^27.5.2",
"@types/node": "^8.10.66",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@zowe/cli": "^7.29.3",
"@zowe/cli-test-utils": "^7.29.4",
"@zowe/imperative": "^5.27.1",
"env-cmd": "^8.0.2",
"eslint": "^8.57.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-license-header": "^0.6.1",
"eslint-plugin-unused-imports": "^2.0.0",
"fs-extra": "^8.1.0",
"husky": "^9.1.6",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
"jest-environment-node": "^27.5.1",
"jest-environment-node-debug": "^2.0.0",
"jest-html-reporter": "^3.10.2",
"jest-junit": "^6.4.0",
"jest-stare": "^2.5.2",
"json-server": "^0.17.4",
"madge": "^5.0.2",
"rimraf": "^2.7.1",
"ts-jest": "^27.1.5",
"ts-node": "^7.0.1",
"typedoc": "^0.23.28",
"typescript": "^4.9.5",
"uuid": "^3.4.0"
},
"peerDependencies": {
"@zowe/imperative": "^5.13.1"
},
"jest": {
"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"
},
"jest-stare": {
"resultDir": "__tests__/__results__/jest-stare",
"additionalResultsProcessors": [
"jest-junit",
"jest-html-reporter"
],
"coverageLink": "../unit/coverage/lcov-report/index.html"
},
"jest-junit": {
"output": "__tests__/__results__/junit.xml"
},
"jest-html-reporter": {
"pageTitle": "Zowe CLI Sample Plugin Test Results",
"outputPath": "__tests__/__results__/results.html",
"includeFailureMsg": true
},
"author": "Zowe",
"license": "EPL-2.0 or Apache-2.0"
}