This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
forked from kubernetes-sigs/kui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
189 lines (189 loc) · 7.9 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
{
"name": "kui-shell",
"version": "12.2.0",
"description": "This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool",
"main": "dist/headless/kui.min.js",
"scripts": {
"prepare": "cross-env husky install",
"lint": "eslint '**/*.{js,ts,tsx}'",
"format": "prettier --write '**/*.{scss,css,html,js,json,md,ts,tsx}'",
"test:electron": "npm run watch:electron && npm run test; EC=$?; npm run kill; exit $EC",
"test:webpack": "export KUI_USE_PROXY=true; export MOCHA_RUN_TARGET=webpack; npm run watch:webpack && MOCHA_RUN_TARGET=webpack npm run test; EC=$?; npm run kill; npm run kill:proxy; exit $EC",
"test": "export MONOREPO_MODE=true; cd packages/test && npm run test",
"test1": "PORT_OFFSET=0 npm run test",
"test2": "PORT_OFFSET=1 npm run test",
"test3": "PORT_OFFSET=2 npm run test",
"test4": "PORT_OFFSET=3 npm run test",
"test5": "PORT_OFFSET=4 npm run test",
"build:electron:mac:amd64": "PLATFORM=mac ARCH=x64 kui-build-electron",
"build:electron:mac:arm64": "PLATFORM=mac ARCH=arm64 kui-build-electron",
"build:electron:osx:amd64": "npm run build:electron:mac:amd64",
"build:electron:osx:arm64": "npm run build:electron:mac:arm64",
"build:electron:linux:amd64": "PLATFORM=linux ARCH=x64 kui-build-electron",
"build:electron:linux:arm64": "PLATFORM=linux ARCH=arm64 kui-build-electron",
"build:electron:win32:amd64": "PLATFORM=win32 ARCH=x64 kui-build-electron",
"build:electron:windows:amd64": "PLATFORM=win32 ARCH=x64 kui-build-electron",
"build:electron:all": "kui-build-electron",
"_kill": "if [ -f /tmp/kuiwatch-$T.pid ]; then PID=$(cat /tmp/kuiwatch-$T.pid); if [ -n \"$PID\" ]; then kill $PID > /dev/null 2> /dev/null || true; fi; fi",
"kill": "T=client npm run _kill; T=headless npm run _kill",
"kill:proxy": "if [ -f /tmp/kuiproxy.pid ]; then PID=$(cat /tmp/kuiproxy.pid); if [ -n \"$PID\" ]; then kill $PID > /dev/null 2> /dev/null || true; fi; rm -f /tmp/kuiproxy.pid; fi",
"kill:cproxy": "kill $(lsof -t -i:9081) > /dev/null 2> /dev/null || true",
"_watch": "bash -c \"npm run kill; export CSP_ALLOWED_HOSTS='http: https: data: filesystem: about: blob: ws: wss:'; kui-watch-webpack\"",
"watch:webpack": "bash -c \"npm run kill; npm run pty:nodejs && npm run _watch $WATCH_ARGS\"",
"watch:electron": "bash -c \"npm run pty:electron && TARGET=electron-renderer npm run _watch\"",
"watch": "bash -c \"npm run kill; npm run compile && npm run link && concurrently -n ES6,WEBPACK --kill-others 'npm run watch:source' 'npm run watch:electron'\"",
"proxy": "export PORT=8081; npm run kill:proxy; export KUI_USE_HTTP=true; cd packages/proxy/app && npm install && ../../../tools/travis/proxy.sh ../../..",
"watch:source": "tsc --build tsconfig.json --watch",
"compile:prep": "touch node_modules/@kui-shell/prescan.json",
"compile:source:es6": "tsc --build tsconfig.json",
"compile:source": "npm run compile:prep && npm run compile:source:es6 && npx kui-babel",
"compile:prescan": "npx kui-prescan",
"compile:clean": "tsc --build tsconfig.json --clean",
"compile": "npm run compile:source && npm run compile:prescan",
"rebuild": "npm run compile:clean; npm run compile",
"clean": "npm run compile:clean; rm -rf node_modules; for i in plugins/*; do rm -rf $i/node_modules; done; for i in packages/*; do rm -rf $i/node_modules; done",
"purge": "npm run clean; rm -f package-lock.json",
"pack": "./bin/pack.sh",
"pty:rebuild": "kui-pty-rebuild",
"pty:electron": "npm run pty:rebuild electron",
"pty:nodejs": "npm run pty:rebuild node",
"link": "bash -c \"if [ $OSTYPE != msys ]; then CLIENT=${CLIENT-default}; CLIENT_HOME=$(cd ./node_modules/@kui-shell/client && pwd) ./packages/builder/bin/seticon.js; fi\"",
"postinstall": "npm rebuild node-sass && npm run compile",
"open": "electron . -- shell",
"start": "WATCH_ARGS='open' npm run watch"
},
"engines": {
"node": ">=12.22.9",
"npm": ">=6.9.0"
},
"dependencies": {
"@kui-shell/client": "file:plugins/plugin-client-default",
"@kui-shell/core": "file:packages/core",
"@kui-shell/plugin-bash-like": "file:plugins/plugin-bash-like",
"@kui-shell/plugin-carbon-themes": "file:plugins/plugin-carbon-themes",
"@kui-shell/plugin-client-common": "file:plugins/plugin-client-common",
"@kui-shell/plugin-core-support": "file:plugins/plugin-core-support",
"@kui-shell/plugin-core-themes": "file:plugins/plugin-core-themes",
"@kui-shell/plugin-electron-components": "file:plugins/plugin-electron-components",
"@kui-shell/plugin-git": "file:plugins/plugin-git",
"@kui-shell/plugin-iter8": "file:plugins/plugin-iter8",
"@kui-shell/plugin-kubectl": "file:plugins/plugin-kubectl",
"@kui-shell/plugin-kubectl-tray-menu": "file:plugins/plugin-kubectl-tray-menu",
"@kui-shell/plugin-patternfly4-themes": "file:plugins/plugin-patternfly4-themes",
"@kui-shell/plugin-proxy-support": "file:plugins/plugin-proxy-support",
"@kui-shell/plugin-s3": "file:plugins/plugin-s3",
"@kui-shell/react": "file:packages/react"
},
"devDependencies": {
"@kui-shell/builder": "file:packages/builder",
"@kui-shell/proxy": "file:packages/proxy",
"@kui-shell/test": "file:packages/test",
"@kui-shell/webpack": "file:packages/webpack",
"@types/cookie": "0.5.1",
"@types/debug": "4.1.7",
"@types/fs-extra": "9.0.13",
"@types/js-yaml": "4.0.5",
"@types/micromatch": "4.0.2",
"@types/minimatch": "^5.1.2",
"@types/minio": "7.0.7",
"@types/mkdirp": "1.0.2",
"@types/mocha": "10.0.0",
"@types/needle": "2.5.3",
"@types/node": "18.8.3",
"@types/pluralize": "0.0.29",
"@types/react": "17.0.43",
"@types/react-dom": "17.0.14",
"@types/resize-observer-browser": "0.1.7",
"@types/shelljs": "0.8.11",
"@types/tmp": "0.2.3",
"@types/turndown": "5.0.1",
"@types/uuid": "8.3.4",
"@types/which": "2.0.1",
"@types/yargs-parser": "21.0.0",
"@typescript-eslint/eslint-plugin": "5.39.0",
"@typescript-eslint/parser": "5.39.0",
"colors": "1.4.0",
"concurrently": "7.4.0",
"cross-env": "7.0.3",
"debug": "4.3.4",
"electron": "20.3.1",
"eslint": "8.25.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.0.1",
"eslint-plugin-react": "7.31.9",
"eslint-plugin-standard": "4.1.0",
"expand-home-dir": "0.0.3",
"fs-extra": "10.1.0",
"husky": "8.0.1",
"lint-staged": "13.0.3",
"mocha": "10.0.0",
"nan": "github:jkleinsc/nan#6a2f95a6a2209d8aa7542fb18099fd808a802059",
"prettier": "2.7.1",
"properties-parser": "0.3.1",
"tmp": "0.2.1",
"typedoc": "0.23.15",
"typedoc-plugin-markdown": "3.13.6",
"typescript": "4.8.4",
"uuid": "9.0.0"
},
"lint-staged": {
"**/*.{scss,css,html,js,json,md,ts,tsx}": [
"prettier --write",
"git add"
],
"**/*.{js,ts,tsx}": [
"eslint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/IBM/kui.git"
},
"keywords": [
"CLI",
"UI",
"tool",
"kubernetes",
"visualization",
"serverless",
"OpenWhisk",
"electron"
],
"author": {
"name": "Nick Mitchell",
"email": "nickm@us.ibm.com"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/IBM/kui/issues"
},
"homepage": "https://github.com/IBM/kui#readme",
"nyc": {
"cache": false,
"extension": [
".ts",
".tsx"
],
"exclude": [
"**/*.d.ts",
"coverage/**",
"packages/*/test/**",
"packages/*/tests/**",
"test/**",
"test{,-*}.ts",
"**/*{.,-}{test,spec}.ts",
"**/__tests__/**",
"**/node_modules/**"
],
"excludeNodeModules": false,
"temp-dir": "packages/test/.nyc_output"
},
"overrides": {
"nan": "$nan",
"colors": "$colors"
}
}