-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.92 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 1.92 KB
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
{
"name": "insights-plugin",
"version": "0.3.1",
"description": "Insights plugin for Headlamp",
"igDesktop": {
"frontendLibVersion": "v0.4.7"
},
"headlamp": {
"enabledByDefault": false,
"extraDist": {
"main.wasm.gz": "main.wasm.gz"
},
"i18n": [
"cs",
"de",
"en",
"es",
"fr",
"hu",
"id",
"it",
"ja",
"ko",
"nl",
"pl",
"pt-BR",
"pt-PT",
"ru",
"sv",
"tr",
"zh-Hans",
"zh-Hant"
]
},
"scripts": {
"start": "headlamp-plugin start",
"prebuild": "node scripts/fetch-vendor-lib.mjs",
"build": "npm run build:go-wasm && VITE_TRANSPORT=wasm vite build --config vite.config.mjs && cp main.wasm.gz dist/main.wasm.gz && npm run copy:locales",
"build:go-wasm": "cd wasm && GOOS=js GOARCH=wasm go build -o ../main.wasm . && gzip -f ../main.wasm",
"build:wasm": "npm run build:go-wasm && VITE_TRANSPORT=wasm vite build --config vite.config.mjs && cp main.wasm.gz dist/main.wasm.gz && npm run copy:locales",
"copy:locales": "rm -rf dist/locales && cp -r locales dist/locales",
"generate-manifests": "node scripts/generate-manifests.mjs",
"test": "headlamp-plugin test",
"format": "headlamp-plugin format",
"lint": "eslint --cache --no-eslintrc -c .eslintrc.cjs --max-warnings 0 --ext .js,.ts,.tsx src/",
"tsc": "headlamp-plugin tsc",
"package": "headlamp-plugin package",
"vendor:update": "bash scripts/update-ig-vendor.sh",
"i18n": "headlamp-plugin i18n"
},
"prettier": "@headlamp-k8s/eslint-config/prettier-config",
"devDependencies": {
"@kinvolk/headlamp-plugin": "^0.14.0"
},
"dependencies": {
"@inspektor-gadget/ig-desktop": "file:vendor/ig-desktop",
"svelte": "5.56.8",
"yaml": "^2.9.0"
},
"overrides": {
"@vitest/coverage-istanbul": "4.1.10",
"dompurify": "3.4.13",
"typescript": "5.6.2",
"vitest": "4.1.10"
}
}