forked from zowe/zowe-explorer-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.55 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
{
"name": "@zowe/zowe-explorer-api",
"version": "2.17.0-SNAPSHOT",
"description": "Extensibility API for Zowe Explorer.",
"publisher": "Zowe",
"author": "Zowe",
"license": "EPL-2.0",
"repository": {
"url": "https://github.com/zowe/zowe-explorer-vscode"
},
"publishConfig": {
"provenance": true
},
"main": "lib/index.js",
"files": [
"lib"
],
"devDependencies": {
"@types/semver": "^7.5.0",
"copyfiles": "^2.4.1"
},
"dependencies": {
"@types/vscode": "^1.53.2",
"@zowe/cli": "7.24.3",
"@zowe/secrets-for-zowe-sdk": "7.18.6",
"handlebars": "^4.7.7",
"semver": "^7.5.3"
},
"scripts": {
"build": "yarn check-cli && yarn copy-secrets && yarn clean && tsc -p ./ && yarn license",
"test:unit": "jest \".*__tests__.*\\.unit\\.test\\.ts\" --coverage",
"test": "yarn test:unit",
"lint": "concurrently -n \"_eslint_,prettier\" \"eslint .\" \"prettier --check .\"",
"lint:html": "eslint . --format html > results/eslint.html",
"pretty": "prettier --write .",
"check-cli": "node scripts/check-cli.js",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"fresh-clone": "yarn clean && rimraf node_modules",
"license": "node ../../scripts/updateLicenses.js",
"package": "yarn build && npm pack && node ../../scripts/mv-pack.js zowe-zowe-explorer-api tgz",
"copy-secrets": "copyfiles -f ../../node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/*.node ./prebuilds"
},
"jest": {
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"testPathIgnorePatterns": [
"<rootDir>/src/decorators"
],
"watchPathIgnorePatterns": [
"<rootDir>/results/unit"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"diagnostics": false,
"tsconfig": "tsconfig-tests.json"
}
]
},
"testRegex": "__tests__.*\\.(spec|test)\\.ts$",
"modulePathIgnorePatterns": [
"out/"
],
"reporters": [
"default",
"jest-junit",
"jest-stare",
"jest-html-reporter"
],
"coverageReporters": [
"json",
"lcov",
"text",
"cobertura"
],
"coverageDirectory": "<rootDir>/results/unit/coverage",
"preset": "ts-jest"
},
"jest-html-reporter": {
"pageTitle": "Zowe Explorer API Tests",
"outputPath": "results/unit/results.html"
},
"jest-stare": {
"resultDir": "results/unit/jest-stare",
"coverageLink": "../coverage/lcov-report/index.html"
},
"jest-junit": {
"outputDirectory": "<rootDir>/results/unit",
"outputName": "junit.xml"
}
}