forked from podman-desktop/podman-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
203 lines (203 loc) · 13.1 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": "podman-desktop",
"productName": "Podman Desktop",
"repository": "https://github.com/containers/podman-desktop",
"version": "1.13.0-next",
"license": "apache-2.0",
"type": "module",
"private": true,
"engines": {
"node": ">=20.9.0",
"npm": ">=10.2.3"
},
"main": "packages/main/dist/index.cjs",
"scripts": {
"build": "npm run build:main && npm run build:preload && npm run build:preload-docker-extension && npm run build:preload-webview && npm run build:ui && npm run build:renderer && npm run build:extensions",
"build:main": "cd ./packages/main && vite build",
"build:extensions": "npm run build:extensions:compose && npm run build:extensions:docker && npm run build:extensions:lima && npm run build:extensions:podman && npm run build:extensions:kubecontext && npm run build:extensions:kind && npm run build:extensions:registries && npm run build:extensions:kubectl-cli",
"build:extensions:compose": "cd ./extensions/compose && npm run build",
"build:extensions:docker": "cd ./extensions/docker && npm run build",
"build:extensions:kubecontext": "cd ./extensions/kube-context && npm run build",
"build:extensions:kind": "cd ./extensions/kind && npm run build",
"build:extensions:lima": "cd ./extensions/lima && npm run build",
"build:extensions:podman": "cd ./extensions/podman && npm run build",
"build:extensions:registries": "cd ./extensions/registries && npm run build",
"build:extensions:kubectl-cli": "cd ./extensions/kubectl-cli && npm run build",
"build:extension-api": "cd ./packages/extension-api && vite build",
"build:preload": "cd ./packages/preload && vite build",
"build:preload-docker-extension": "cd ./packages/preload-docker-extension && vite build",
"build:preload-webview": "cd ./packages/preload-webview && vite build",
"build:preload:types": "dts-cb -i \"packages/preload/tsconfig.json\" -o \"packages/preload/exposedInMainWorld.d.ts\" && dts-cb -i \"packages/preload-docker-extension/tsconfig.json\" -o \"packages/preload-docker-extension/exposedInDockerExtension.d.ts\" && dts-cb -i \"packages/preload-webview/tsconfig.json\" -o \"packages/preload-webview/exposedInWebview.d.ts\"",
"build:renderer": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite -c packages/renderer/vite.config.js build",
"build:ui": "cd ./packages/ui && npm run build",
"compile": "cross-env MODE=production npm run build && electron-builder build --config .electron-builder.config.cjs --dir --config.asar=false",
"compile:next": "cross-env MODE=production npm run build && electron-builder build --publish always --config .electron-builder.config.cjs",
"compile:pull-request": "cross-env MODE=production npm run build && electron-builder build --publish never --config .electron-builder.config.cjs",
"compile:current": "cross-env MODE=production npm run build && electron-builder build --config .electron-builder.config.cjs",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "npm run test:main && npm run test:preload && npm run test:preload-docker-extension && npm run test:preload-webview && npm run test:ui && npm run test:renderer && npm run test:scripts:stylesheet && npm run test:tools && npm run test:extensions",
"test:e2e": "npm run test:e2e:build && npm run test:e2e:run",
"test:e2e:build": "cross-env NODE_ENV=development MODE=development DEBUG=pw:browser npm run build",
"test:e2e:run": "xvfb-maybe --auto-servernum --server-args='-screen 0 1280x960x24' -- npx playwright test tests/playwright/src/specs/",
"test:e2e:smoke": "npm run test:e2e:build && npm run test:e2e:smoke:run",
"test:e2e:smoke:run": "xvfb-maybe --auto-servernum --server-args='-screen 0 1280x960x24' -- npx playwright test tests/playwright/src/specs/ -g @smoke",
"test:e2e:extension": "npm run test:e2e:build && npm run test:e2e:extension:run",
"test:e2e:extension:run": "xvfb-maybe --auto-servernum --server-args='-screen 0 1280x960x24' -- npx playwright test tests/playwright/src/specs/extension-installation.spec.ts",
"test:e2e:pw": "npm run test:e2e:build && npm run test:e2e:pw:run",
"test:e2e:pw:run": "xvfb-maybe --auto-servernum --server-args='-screen 0 1280x960x24' -- npx playwright test tests/playwright/src/specs/container-smoke.spec.ts",
"test:e2e:copy": "cp ../podman-desktop-extension-bootc/tests/src/bootc-extension.spec.ts tests/src/",
"test:main": "vitest run -r packages/main --passWithNoTests --coverage",
"test:preload": "vitest run -r packages/preload --passWithNoTests --coverage",
"test:preload-docker-extension": "vitest run -r packages/preload-docker-extension --passWithNoTests --coverage",
"test:preload-webview": "vitest run -r packages/preload-webview --coverage",
"test:extensions": "vitest run -r extensions --passWithNoTests --coverage && npm run test:extensions:compose && npm run test:extensions:kind && npm run test:extensions:docker && npm run test:extensions:lima && npm run test:extensions:kube && npm run test:extensions:podman && npm run test:extensions:registries && npm run test:extensions:kubectl-cli",
"test:extensions:kind": "vitest run -r extensions/kind --passWithNoTests --coverage ",
"test:extensions:compose": "vitest run -r extensions/compose --passWithNoTests --coverage",
"test:extensions:docker": "vitest run -r extensions/docker --passWithNoTests --coverage ",
"test:extensions:kube": "vitest run -r extensions/kube-context --passWithNoTests --coverage ",
"test:extensions:lima": "vitest run -r extensions/lima --passWithNoTests --coverage ",
"test:extensions:podman": "vitest run -r extensions/podman --passWithNoTests --coverage ",
"test:extensions:registries": "vitest run -r extensions/registries --passWithNoTests --coverage ",
"test:extensions:kubectl-cli": "vitest run -r extensions/kubectl-cli --passWithNoTests --coverage ",
"test:renderer": "npm run build:ui && vitest -c packages/renderer/vite.config.js run packages/renderer --passWithNoTests --coverage",
"test:ui": "vitest --config packages/ui/vite.config.js run --passWithNoTests --coverage",
"test:tools": "vitest run tools --passWithNoTests --coverage",
"test:scripts:stylesheet": "vitest run ./scripts/generate-stylesheet.spec.ts --passWithNoTests",
"test:watch": "vitest watch",
"watch": "node scripts/watch.mjs",
"format:check": "prettier --cache --check \"{extensions,packages,tests,types,tools,website-argos}/**/*.{ts,svelte}\" \"extensions/*/scripts/*.{ts,js}\" \"website/**/*.{md,js}\" \"website/src/**/*.{css,tsx}\"",
"format:fix": "prettier --cache --write \"{extensions,packages,tests,types,tools,website-argos}/**/*.{ts,svelte}\" \"extensions/*/scripts/*.{ts,js}\" \"website/**/*.{md,js}\" \"website/src/**/*.{css,tsx}\"",
"markdownlint:check": "markdownlint-cli2 \"website/**/*.md\" \"#website/node_modules\" \"#website/api\"",
"markdownlint:fix": "markdownlint-cli2-fix \"website/**/*.md\" \"#website/node_modules\"",
"lint:clean": "rimraf .eslintcache",
"lint:fix": "node --max-old-space-size=6144 node_modules/eslint/bin/eslint.js --cache . --fix",
"lint:check": "node --max-old-space-size=6144 node_modules/eslint/bin/eslint.js --cache .",
"svelte:check": "svelte-check --ignore \"packages/ui/dist,packages/renderer/src/lib/ui/DetailsPage.svelte,packages/renderer/src/lib/ui/EngineFormPage.svelte,packages/renderer/src/lib/ui/FormPage.svelte,storybook\"",
"typecheck:extension-api": "tsc --noEmit -p packages/extension-api/tsconfig.json",
"typecheck:main": "tsc --noEmit -p packages/main/tsconfig.json",
"typecheck:preload": "tsc --noEmit -p packages/preload/tsconfig.json",
"typecheck:preload-dd-extension": "tsc --noEmit -p packages/preload-docker-extension/tsconfig.json",
"typecheck:preload-webview": "tsc --noEmit -p packages/preload-webview/tsconfig.json",
"typecheck:renderer": "npm run build:preload:types && tsc --noEmit -p packages/renderer/tsconfig.json",
"typecheck:ui": "npm run build:preload:types && tsc --noEmit -p packages/ui/tsconfig.json",
"typecheck:extensions": "npm run typecheck:extensions:compose && npm run typecheck:extensions:kind && npm run typecheck:extensions:docker && npm run typecheck:extensions:lima && npm run typecheck:extensions:kube-context && npm run typecheck:extensions:podman && npm run typecheck:extensions:registries && npm run typecheck:extensions:kubectl-cli",
"typecheck:extensions:kind": "tsc --noEmit --project extensions/kind",
"typecheck:extensions:compose": "tsc --noEmit --project extensions/compose",
"typecheck:extensions:docker": "tsc --noEmit --project extensions/docker",
"typecheck:extensions:kube-context": "tsc --noEmit --project extensions/kube-context",
"typecheck:extensions:lima": "tsc --noEmit --project extensions/lima",
"typecheck:extensions:podman": "tsc --noEmit --project extensions/podman",
"typecheck:extensions:registries": "tsc --noEmit --project extensions/registries",
"typecheck:extensions:kubectl-cli": "tsc --noEmit --project extensions/kubectl-cli",
"typecheck": "npm run typecheck:main && npm run typecheck:preload && npm run typecheck:ui && npm run typecheck:renderer && npm run typecheck:preload-dd-extension && npm run typecheck:preload-webview && npm run typecheck:extensions && npm run typecheck:extension-api",
"website:build": "pnpm run storybook:build && cd website && pnpm run docusaurus build",
"website:prod": "pnpm run website:build && cd website/build && pnpm serve",
"website:dev": "pnpm run storybook:build && cd website && pnpm run docusaurus start",
"website:screenshots": "cd website-argos && pnpm run screenshot",
"storybook:css": "tsx ./scripts/generate-stylesheet.ts --output storybook/.storybook/themes.css",
"storybook:dev": "npm run storybook:css && cd storybook && pnpm run dev",
"storybook:build": "npm run build:ui && npm run storybook:css && cd storybook && pnpm run build",
"prepare": "husky install",
"postinstall": "playwright install"
},
"lint-staged": {
"*.{js,ts,tsx,svelte}": [
"node --max-old-space-size=6144 node_modules/eslint/bin/eslint.js --cache --fix",
"prettier --cache --write"
],
"*.{md,css,json}": "prettier --write"
},
"devDependencies": {
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@electron/fuses": "^1.8.0",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@playwright/test": "1.46.1",
"@podman-desktop/api": "workspace:",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@tsconfig/strictest": "^2.0.5",
"@types/adm-zip": "^0.5.5",
"@types/dockerode": "^3.3.31",
"@types/express": "^4.17.21",
"@types/getos": "^3.0.4",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20",
"@types/tar": "^6.1.13",
"@types/tar-fs": "^2.0.4",
"@types/validator": "^13.12.1",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@vitest/coverage-v8": "^2.0.5",
"cross-env": "7.0.3",
"dts-for-context-bridge": "0.7.1",
"electron": "32.0.1",
"electron-builder": "24.13.3",
"electron-builder-notarize": "^1.5.2",
"electron-devtools-installer": "^3.2.0",
"eslint": "^9.9.1",
"eslint-import-resolver-custom-alias": "^1.3.2",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-etc": "^2.0.3",
"eslint-plugin-file-progress": "^1.5.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-redundant-undefined": "^1.0.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^2.0.2",
"eslint-plugin-unicorn": "^55.0.0",
"fzstd": "^0.1.1",
"globals": "^15.9.0",
"husky": "^9.1.5",
"js-yaml": "^4.1.0",
"lint-staged": "^15.2.10",
"minimist": "^1.2.8",
"nock": "14.0.0-beta.7",
"postcss-import": "^16.1.0",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"proxy": "^2.2.0",
"typescript": "5.5.4",
"typescript-eslint": "^8.4.0",
"validator": "^13.12.0",
"vite": "^5.4.2",
"vitest": "^2.0.5",
"xvfb-maybe": "^0.2.1"
},
"dependencies": {
"@docker/extension-api-client-types": "0.3.4",
"@kubernetes/client-node": "^1.0.0-rc6",
"@segment/analytics-node": "^2.1.2",
"@types/semver": "^7.5.8",
"@types/stream-json": "^1.7.7",
"adm-zip": "^0.5.16",
"check-disk-space": "^3.4.0",
"chokidar": "^3.6.0",
"compare-versions": "^6.1.1",
"date.js": "^0.3.3",
"dockerode": "^4.0.2",
"electron-context-menu": "4.0.4",
"electron-updater": "6.3.4",
"electron-util": "^0.18.1",
"express": "^4.19.2",
"getos": "^3.2.1",
"got": "^14.4.2",
"hpagent": "^1.2.0",
"minimist": "^1.2.8",
"moment": "^2.30.1",
"os-locale": "^6.0.2",
"semver": "^7.6.3",
"stream-json": "^1.8.0",
"sudo-prompt": "^9.2.1",
"tar": "^7.4.3",
"tar-fs": "^3.0.6",
"undici": "^6.19.8",
"win-ca": "^3.5.1",
"yaml": "^2.5.0"
},
"packageManager": "[email protected]+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247"
}