-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
146 lines (146 loc) · 6.75 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
{
"name": "@mirantis/lens-extension-cc",
"publisher": "mirantis",
"version": "5.6.0",
"description": "Lens extension that loads Mirantis Container Cloud clusters.",
"engines": {
"lens": "^6.0.0"
},
"main": "dist/main.js",
"renderer": "dist/renderer.js",
"license": "MIT",
"author": {
"name": "Stefan Cameron",
"url": "https://github.com/stefcameron"
},
"homepage": "https://github.com/Mirantis/lens-extension-cc#readme",
"bugs": "https://github.com/Mirantis/lens-extension-cc/issues",
"keywords": [
"lens",
"mirantis",
"cluster"
],
"repository": {
"type": "git",
"url": "https://github.com/Mirantis/lens-extension-cc.git"
},
"files": [
"package.json",
"CHANGELOG.md",
"README.md",
"LICENSE",
"bin/",
"dist/"
],
"scripts": {
"clean": "rm -rf ./dist && rm -rf ./dist_babel",
"build": "npm run clean && BABEL_ENV=build webpack",
"dev": "TARGET=development npm run build",
"prebabel": "rm -rf ./dist_babel",
"babel": "babel src --out-dir dist_babel",
"prestart": "npm run download:kubelogin",
"start": "TARGET=development npm run build -- --watch",
"fmt": "prettier --write \"{*,src/**/*,tools/**/*,test/**/*,__mocks__/**/*}.+(js|mjs|ts*|yml|json)\"",
"fmt:check": "prettier --check \"{*,src/**/*,tools/**/*,test/**/*,__mocks__/**/*}.+(js|mjs|ts*|yml|json)\"",
"lint": "eslint \"{*,src/**/*,tools/**/*,test/**/*,__mocks__/**/*}.+(js|mjs|ts*)\"",
"test:unit": "jest --colors --config jest.config.mjs",
"test:coverage": "npm run test:unit -- --coverage",
"test": "npm run lint && npm run fmt:check && npm run test:unit",
"prepack": "npm run build && npm run download:kubelogin:all && npm run download:kubelogin:license",
"prepublishOnly": "npm run test",
"create:bin:nix": "mkdir -p ./bin",
"create:bin:windows": "sh -c \"mkdir -p ./bin\"",
"download:kubelogin": "run-script-os",
"download:kubelogin:all": "npm run download:kubelogin:macos && npm run download:kubelogin:linux && npm run download:kubelogin:windows",
"download:kubelogin:macos": "npm run create:bin:nix && npm run download:kubelogin:macos-amd64 && npm run download:kubelogin:macos-arm64",
"download:kubelogin:macos-amd64": "[[ -f ./bin/kubelogin-macos-amd64 ]] || (mkdir -p ./tmp && cd ./tmp && curl -slL https://github.com/int128/kubelogin/releases/download/v1.27.0/kubelogin_darwin_amd64.zip | tar -xz && mv kubelogin ../bin/kubelogin-macos-amd64 && chmod +x ../bin/kubelogin-macos-amd64 && cd .. && rm -rf ./tmp)",
"download:kubelogin:macos-arm64": "[[ -f ./bin/kubelogin-macos-arm64 ]] || (mkdir -p ./tmp && cd ./tmp && curl -slL https://github.com/int128/kubelogin/releases/download/v1.27.0/kubelogin_darwin_arm64.zip | tar -xz && mv kubelogin ../bin/kubelogin-macos-arm64 && chmod +x ../bin/kubelogin-macos-arm64 && cd .. && rm -rf ./tmp)",
"download:kubelogin:linux": "npm run create:bin:nix && ([[ -f ./bin/kubelogin-linux-amd64 ]] || (mkdir -p ./tmp && cd ./tmp && curl -slL https://github.com/int128/kubelogin/releases/download/v1.27.0/kubelogin_linux_amd64.zip | tar -xz && mv kubelogin ../bin/kubelogin-linux-amd64 && chmod +x ../bin/kubelogin-linux-amd64 && cd .. && rm -rf ./tmp))",
"download:kubelogin:windows": "npm run create:bin:windows && sh -c \"[[ -f ./bin/kubelogin-win-amd64.exe ]] || (mkdir -p ./tmp && cd ./tmp && curl -slL https://github.com/int128/kubelogin/releases/download/v1.27.0/kubelogin_windows_amd64.zip | tar -xz && mv kubelogin.exe ../bin/kubelogin-win-amd64.exe && chmod +x ../bin/kubelogin-win-amd64.exe && cd .. && rm -rf ./tmp)\"",
"download:kubelogin:license": "run-script-os",
"download:kubelogin:license:nix": "npm run create:bin:nix && ([[ -f ./bin/kubelogin-license.txt ]] || curl -slL https://raw.githubusercontent.com/int128/kubelogin/v1.27.0/LICENSE > ./bin/kubelogin-license.txt)",
"download:kubelogin:license:windows": "npm run create:bin:windows && sh -c \"[[ -f ./bin/kubelogin-license.txt ]] || curl -slL https://raw.githubusercontent.com/int128/kubelogin/v1.27.0/LICENSE > ./bin/kubelogin-license.txt\""
},
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.21.5",
"@babel/eslint-parser": "^7.21.3",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-proposal-decorators": "^7.20.13",
"@babel/plugin-transform-react-jsx": "^7.21.5",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@emotion/babel-plugin": "^11.10.2",
"@emotion/core": "^11.0.0",
"@emotion/css": "^11.10.8",
"@emotion/jest": "^11.10.8",
"@emotion/react": "^11.10.8",
"@emotion/styled": "^11.10.8",
"@k8slens/extensions": "^6.4.15",
"@testing-library/dom": "^9.2.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^14.4.3",
"@types/byline": "^4.2.33",
"@types/chart.js": "^2.9.36",
"@types/color": "^3.0.3",
"@types/crypto-js": "^4.1.1",
"@types/lodash": "^4.14.194",
"@types/node": "^18.16.3",
"@types/proper-lockfile": "^4.1.2",
"@types/react": "^18.0.9",
"@types/react-dom": "^17.0.16",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"@types/react-virtualized-auto-sizer": "^1.0.1",
"@types/react-window": "^1.8.5",
"@types/tar": "^6.1.4",
"@types/tcp-port-used": "^1.0.1",
"@types/url-parse": "^1.4.8",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.1",
"babel-jest": "^29.5.0",
"babel-loader": "^9.1.2",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-module-resolver": "^5.0.0",
"browserslist": "^4.21.5",
"chart.js": "^4.3.0",
"dayjs": "^1.11.7",
"electron": "^22.3.3",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^5.10.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-mock-console": "^2.0.0",
"jest-transform-stub": "^2.0.0",
"lodash": "^4.17.21",
"mobx": "^6.9.0",
"mobx-react": "^8.0.0",
"monaco-editor": "^0.37.1",
"node-fetch": "^2.6.9",
"prettier": "^2.8.8",
"prop-types": "^15.8.1",
"query-string": "^8.1.0",
"react": "^17.0.2",
"react-chartjs-2": "^5.2.0",
"react-dom": "^17.0.2",
"react-select": "^5.7.2",
"rtvjs": "^4.1.0",
"run-script-os": "^1.1.6",
"semver": "^7.5.0",
"ts-loader": "^9.4.2",
"typed-emitter": "^2.1.0",
"typescript": "^5.0.4",
"webpack": "^5.81.0",
"webpack-cli": "^5.0.2",
"xterm-addon-fit": "^0.7.0",
"yaml": "^2.2.2"
}
}