forked from che-incubator/chectl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
203 lines (203 loc) · 7.37 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
"name": "chectl",
"description": "Eclipse Che CLI",
"version": "0.0.2",
"author": "Mario Loriedo @l0rd",
"bin": {
"chectl": "./bin/run"
},
"bugs": "https://github.com/che-incubator/chectl/issues",
"dependencies": {
"@kubernetes/client-node": "0.12.1",
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/parser": "^3.8.5",
"@oclif/plugin-autocomplete": "^0.3.0",
"@oclif/plugin-help": "^3",
"@oclif/plugin-update": "^1.3.10",
"@octokit/rest": "^18.6.0",
"analytics-node": "^3.4.0-beta.3",
"ansi-colors": "4.1.1",
"axios": "^0.21.1",
"cli-ux": "^5.5.1",
"command-exists": "^1.2.9",
"countries-and-timezones": "^2.4.0",
"debug": "^4.3.1",
"eclipse-che-devfile-workspace-operator": "git://github.com/devfile/devworkspace-operator#main",
"eclipse-che-operator": "git://github.com/eclipse-che/che-operator#main",
"eclipse-che-server": "git://github.com/eclipse-che/che-server#main",
"esprima": "^4.0.1",
"execa": "^5.1.1",
"fancy-test": "^1.4.9",
"fs-extra": "^9.0.1",
"getos": "^3.2.1",
"gnirts": "^1.1.7",
"inquirer": "^8.1.0",
"js-yaml": "^3.14.0",
"listr": "^0.14.3",
"listr-verbose-renderer": "^0.6.0",
"lodash": "^4.17.21",
"mkdirp": "^1.0.4",
"node-forge": "^0.10.0",
"node-notifier": "^8.0.1",
"os-locale": "^5.0.0",
"querystring": "^0.2.1",
"rimraf": "^3.0.2",
"semver": "^7.3.4",
"stream-buffers": "^3.0.2",
"tslib": "^2",
"unzipper": "0.10.11",
"uuid": "^8.3.2"
},
"devDependencies": {
"@eclipse-che/api": "latest",
"@oclif/dev-cli": "^1",
"@oclif/test": "^1",
"@types/chai": "^4",
"@types/command-exists": "^1.2.0",
"@types/countries-and-timezones": "^2.0.3",
"@types/fs-extra": "^9.0.11",
"@types/getos": "^3.0.0",
"@types/inquirer": "^7.3.1",
"@types/jest": "26.0.22",
"@types/js-yaml": "^3.12.5",
"@types/listr": "^0.14.2",
"@types/node": "^12",
"@types/node-forge": "^0.9.7",
"@types/node-notifier": "^8.0.0",
"@types/request": "^2.48.5",
"@types/rimraf": "^3.0.0",
"@types/semver": "^7.3.4",
"@types/unzipper": "^0.10.3",
"@types/uuid": "^8.3.0",
"@types/websocket": "^1.0.1",
"@types/ws": "^7.4.4",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.1",
"chai": "^4.2.0",
"cpx": "^1.5.0",
"eslint": "^7.28.0",
"eslint-config-oclif": "^3.1.0",
"eslint-config-oclif-typescript": "^0.2.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-no-null": "^1.0.2",
"globby": "^11",
"jest": "^26.6.3",
"nock": "^11.7.0",
"ts-jest": "^26.5.6",
"ts-node": "^9",
"typescript": "^4.1",
"typescript-formatter": "7.2.2"
},
"engines": {
"node": ">=12.0.0"
},
"files": [
"/bin",
"/lib",
"/installers",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"homepage": "https://github.com/che-incubator/chectl",
"keywords": [
"oclif"
],
"license": "EPL-2.0",
"main": "lib/index.js",
"oclif": {
"commands": "./lib/commands",
"hooks": {
"prerun": "./lib/hooks/prerun/new-version-warning",
"analytics": "./lib/hooks/analytics/analytics"
},
"bin": "chectl",
"macos": {
"identifier": "che-incubator.chectl"
},
"plugins": [
"@oclif/plugin-autocomplete",
"@oclif/plugin-help",
"@oclif/plugin-update"
],
"topics": {
"auth": {
"description": "Manage Eclipse Che server login sessions"
},
"server": {
"description": "Control Eclipse Che server"
},
"workspace": {
"description": "Control Che workspaces"
}
},
"update": {
"s3": {
"host": "https://che-incubator.github.io/chectl/",
"templates": {
"target": {
"unversioned": "<%- 'channels/' + channel + '/' %><%- bin %>-<%- platform %>-<%- arch %><%- ext %>",
"versioned": "<%- 'channels/' + channel + '/' %>/<%- bin %>-<%- platform %>-<%- arch %><%- ext %>",
"manifest": "<%- 'channels/' + channel + '/' %><%- platform %>-<%- arch %>"
},
"vanilla": {
"unversioned": "<%- 'channels/' + channel + '/' %><%- bin %>-<%- platform %>-<%- arch %><%- ext %>",
"versioned": "<%- 'channels/' + channel + '/' %>/<%- bin %>-<%- platform %>-<%- arch %><%- ext %>",
"manifest": "<%- 'channels/' + channel + '/' %><%- platform %>-<%- arch %>"
}
}
}
}
},
"repository": "che-incubator/chectl",
"scripts": {
"postinstall": "npm run -s postinstall-repositories && npm run -s postinstall-helm && npm run -s postinstall-cert-manager && npm run -s postinstall-operator && npm run -s postinstall-dev-workspace && npm run -s postinstall-cleanup",
"postinstall-helm": "rimraf templates/kubernetes && cpx 'node_modules/eclipse-che-server/deploy/kubernetes/**' 'templates/kubernetes'",
"postinstall-cert-manager": "rimraf templates/cert-manager && cpx 'node_modules/eclipse-che-server/deploy/cert-manager/**' 'templates/cert-manager'",
"postinstall-dev-workspace": "rimraf templates/devworkspace && cpx 'node_modules/eclipse-che-devfile-workspace-operator/deploy/**' 'templates/devworkspace'",
"postinstall-operator": "rimraf templates/che-operator && cpx 'node_modules/eclipse-che-operator/deploy/**' 'templates/che-operator'",
"postinstall-repositories": "yarn upgrade eclipse-che-server eclipse-che-operator eclipse-che-devfile-workspace-operator",
"postinstall-cleanup": "rimraf node_modules/eclipse-che-server && rimraf node_modules/eclipse-che-operator",
"test": "jest --collect-coverage",
"test-watch": "jest --watchAll",
"e2e-minikube-helm": "export PLATFORM=minikube && export INSTALLER=helm && yarn jest ./test/e2e/e2e.test.ts --testRegex='/test/(e2e)/.*.test.ts'",
"e2e-minikube-operator": "export PLATFORM=minikube && export INSTALLER=operator && yarn jest ./test/e2e/e2e.test.ts --testRegex='/test/(e2e)/.*.test.ts'",
"e2e-minishift": "export PLATFORM=minishift && export INSTALLER=operator && yarn jest ./test/e2e/e2e.test.ts --testRegex='/test/(e2e)/.*.test.ts'",
"e2e-openshift": "export PLATFORM=openshift && export INSTALLER=operator && yarn jest ./test/e2e/e2e.test.ts --testRegex='/test/(e2e)/.*.test.ts'",
"gnirts-ci": "node .ci/obfuscate/gnirts.js",
"prepack": "yarn lint && rm -rf lib && rm -rf tsconfig.tsbuildinfo && tsc -b && oclif-dev manifest && oclif-dev readme && yarn gnirts-ci",
"pack-binaries": "oclif-dev pack",
"postpack": "rm -f oclif.manifest.json",
"format": "tsfmt -r --useTsfmt tsfmt.json",
"lint": "eslint --cache=true --no-error-on-unmatched-pattern=true '{src,tests}/**/*.ts'",
"lint:fix": "eslint --fix --cache=true --no-error-on-unmatched-pattern=true \"{src,tests}/**/*.{ts,tsx}\"",
"version": "oclif-dev readme && git add README.md",
"watch": "tsc --watch"
},
"types": "lib/index.d.ts",
"jest": {
"collectCoverage": true,
"coverageReporters": [
"json"
],
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageDirectory": "./coverage",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"modulePathIgnorePatterns": [
"<rootDir>/dist"
],
"testRegex": "/test/(api|tasks|other)/.*.test.ts",
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
}
}