forked from redhat-developer/devspaces-chectl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
176 lines (176 loc) · 5.76 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
{
"name": "dsc",
"version": "3.1.0-CI-redhat",
"description": "Red Hat OpenShift Dev Spaces CLI",
"keywords": [
"oclif"
],
"homepage": "https://developers.redhat.com/products/codeready-workspaces",
"bugs": "https://issues.jboss.org/projects/CRW/issues",
"repository": "redhat-developer/devspaces-chectl",
"license": "EPL-2.0",
"author": "Mario Loriedo @l0rd",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"dsc": "./bin/run"
},
"files": [
"/bin",
"/lib",
"/resources",
"/npm-shrinkwrap.json",
"/oclif.manifest.json",
"/prepare-devspaces-operator-templates.js"
],
"scripts": {
"e2e-minikube-operator": "export PLATFORM=minikube && 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'",
"format": "tsfmt -r --useTsfmt tsfmt.json",
"gnirts-ci": "node .ci/obfuscate/gnirts.js",
"postinstall": "npm run -s postinstall-repositories && npm run -s postinstall-operator && npm run -s postinstall-cleanup",
"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}\"",
"prepack": "yarn lint && rm -rf lib && rm -rf tsconfig.tsbuildinfo && tsc -b && oclif-dev manifest && oclif-dev readme && yarn gnirts-ci",
"postpack": "rm -f oclif.manifest.json",
"pack-binaries": "oclif-dev pack",
"postinstall-cleanup": "rimraf node_modules/devspaces-operator",
"postinstall-operator": "node prepare-devspaces-operator-templates.js",
"postinstall-repositories": "yarn upgrade devspaces-operator",
"test": "jest --collect-coverage",
"test-watch": "jest --watchAll",
"version": "oclif-dev readme && git add README.md",
"watch": "tsc --watch"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageDirectory": "./coverage",
"coverageReporters": [
"json"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"modulePathIgnorePatterns": [
"<rootDir>/dist"
],
"testEnvironment": "node",
"testRegex": "/test/(api|tasks|other)/.*.test.ts",
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"dependencies": {
"@kubernetes/client-node": "0.14.3",
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/parser": "^3.8.7",
"@oclif/plugin-autocomplete": "^1.2.0",
"@oclif/plugin-help": "^5",
"@oclif/plugin-update": "^1.5.0",
"@octokit/rest": "^18.12.0",
"analytics-node": "^6.0.0",
"ansi-colors": "4.1.1",
"axios": "^0.21.1",
"cli-ux": "^6.0.9",
"command-exists": "^1.2.9",
"countries-and-timezones": "^3.3.0",
"devspaces-operator": "https://github.com/redhat-developer/devspaces-images#devspaces-3-rhel-8",
"execa": "^5.1.1",
"fancy-test": "^2.0.0",
"fs-extra": "^10.0.1",
"getos": "^3.2.1",
"gnirts": "^1.1.7",
"js-yaml": "^4.0.2",
"listr": "^0.14.3",
"listr-verbose-renderer": "^0.6.0",
"lodash": "^4.17.21",
"node-forge": "^1.2.1",
"node-notifier": "^10.0.1",
"os-locale": "^5.0.0",
"rimraf": "^3.0.2",
"semver": "^7.3.4",
"unzipper": "0.10.11",
"uuid": "^8.3.2"
},
"devDependencies": {
"@oclif/dev-cli": "^1",
"@oclif/test": "^2",
"@types/chai": "^4",
"@types/command-exists": "^1.2.0",
"@types/countries-and-timezones": "^3.2.3",
"@types/fs-extra": "^9.0.13",
"@types/getos": "^3.0.1",
"@types/jest": "27.4.1",
"@types/js-yaml": "^4.0.5",
"@types/listr": "^0.14.4",
"@types/node": "^17",
"@types/node-forge": "^1.0.1",
"@types/node-notifier": "^8.0.2",
"@types/rimraf": "^3.0.2",
"@types/semver": "^7.3.9",
"@types/unzipper": "^0.10.5",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"chai": "^4.3.6",
"eslint": "^7.32.0",
"eslint-config-oclif": "^3.1.0",
"eslint-config-oclif-typescript": "^1.0.2",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-no-null": "^1.0.2",
"jest": "^26.6.3",
"ts-jest": "^26.5.6",
"ts-node": "^10",
"typescript": "^4.3",
"typescript-formatter": "7.2.2"
},
"engines": {
"node": ">=16.0.0"
},
"oclif": {
"commands": "./lib/commands",
"hooks": {
"prerun": "./lib/hooks/prerun/new-version-warning",
"analytics": "./lib/hooks/analytics/analytics"
},
"bin": "dsc",
"macos": {
"identifier": "redhat-developer.dsc"
},
"plugins": [
"@oclif/plugin-autocomplete",
"@oclif/plugin-help",
"@oclif/plugin-update"
],
"topics": {
"server": {
"description": "Control Red Hat OpenShift Dev Spaces server"
}
},
"update": {
"s3": {
"host": "https://redhat-developer.github.io/devspaces-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 %>"
}
}
}
}
}
}