Files
oneuptime/App/FeatureSet/PublicDashboard/package.json
Nawaz Dhandala 87e34b0abf feat: Add Public Dashboard FeatureSet with core components and pages
- Implemented DashboardCanvas component for rendering dashboard.
- Created Index.tsx for application entry point with routing setup.
- Developed AllPages.tsx to export main pages: DashboardView, MasterPassword, NotFound, and Forbidden.
- Added DashboardVariableSelector for managing dashboard variables.
- Built DashboardViewPage to display the dashboard with variable selection and auto-refresh functionality.
- Created Forbidden and NotFound pages for access control and error handling.
- Implemented MasterPassword page for secure access to dashboards.
- Added server-side utility for fetching public dashboard data.
- Established API utility for handling requests specific to the public dashboard.
- Configured routing and page mapping for public dashboard navigation.
- Set up TypeScript configuration for the PublicDashboard FeatureSet.
- Created index.ejs for rendering the public dashboard application.
2026-03-26 14:48:45 +00:00

53 lines
1.5 KiB
JSON

{
"name": "@oneuptime/public-dashboard",
"version": "0.1.0",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/OneUptime/oneuptime"
},
"scripts": {
"dev": "npx nodemon",
"build": "NODE_ENV=production node esbuild.config.js",
"dev-build": "NODE_ENV=development node esbuild.config.js",
"analyze": "analyze=true NODE_ENV=production node esbuild.config.js",
"test": "",
"compile": "tsc",
"clear-modules": "rm -rf node_modules && rm package-lock.json && npm install",
"start": "node --require ts-node/register Serve.ts",
"audit": "npm audit --audit-level=low",
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"dep-check": "npm install -g depcheck && depcheck ./ --skip-missing=true"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"Common": "file:../../../Common",
"ejs": "^3.1.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.30.2",
"use-async-effect": "^2.2.6"
},
"devDependencies": {
"@types/node": "^16.11.35",
"@types/react": "^18.2.38",
"@types/react-dom": "^18.0.4",
"@types/react-router-dom": "^5.3.3",
"nodemon": "^2.0.20",
"ts-node": "^10.9.1"
}
}