forked from zowe/zowe-cli-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.5 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
{
"name": "@zowe/zowe-cli-sample-plugin",
"version": "2.0.1",
"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"
],
"scripts": {
"build": "node scripts/updateLicense.js && tsc --pretty && npm run checkTestsCompile",
"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": "tslint \"src/**/*.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 ."
},
"imperative": {
"configurationModule": "lib/imperative.js"
},
"peerDependencies": {
"@zowe/cli": "^5.14.2",
"@zowe/imperative": "^4.2.1"
},
"devDependencies": {
"@types/fs-extra": "^8.0.0",
"@types/jest": "^20.0.5",
"@types/node": "^8.0.0",
"@types/yargs": "8.0.2",
"env-cmd": "^8.0.2",
"fs-extra": "^5.0.0",
"jest": "^24.3.1",
"jest-cli": "^24.3.1",
"jest-environment-node": "^24.3.1",
"jest-environment-node-debug": "^2.0.0",
"jest-html-reporter": "^2.2.0",
"jest-junit": "^3.6.0",
"jest-stare": "^1.0.5",
"rimraf": "^2.7.1",
"ts-jest": "^24.0.0",
"ts-node": "^3.2.0",
"tslint": "^5.0.0",
"typedoc": "^0.15.0",
"typescript": "3.2.2",
"uuid": "^3.2.1",
"@zowe/cli": "^5.14.2",
"@zowe/imperative": "^4.2.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": "../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": "Darkside",
"license": "EPL-2.0"
}