prometheus/web/ui/package.json
Jan Fajerski b7435e675c build: add option to build with only the mantine UI
This adds the `--mantine-ui` switch to `web/ui/build_ui.sh` which
allows to build without the old react UI. If built with only the mantine
ui and started with `--enable-features=old-ui` the user will get a 404
response on th web port.

Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2026-03-04 08:55:37 +01:00

28 lines
772 B
JSON

{
"name": "prometheus-io",
"description": "Monorepo for the Prometheus UI",
"version": "0.310.0",
"private": true,
"scripts": {
"build": "bash build_ui.sh --all",
"build:mantine-ui": "bash build_ui.sh --mantine-ui",
"build:module": "bash build_ui.sh --build-module",
"start": "npm run start -w mantine-ui",
"test": "npm run test --workspaces",
"lint": "npm run lint --workspaces"
},
"workspaces": [
"mantine-ui",
"module/*"
],
"devDependencies": {
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.1",
"ts-jest": "^29.4.6",
"typescript": "^5.9.3",
"vite": "^6.4.1"
}
}