Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

7.6 KB
Raw Blame
{
  "name": "frontend",
  "version": "1.0.0",
  "description": "",
  "type": "module",
  "scripts": {
    "preinstall": "npx only-allow pnpm",
    "i18n:generate-hash": "node ./i18-generate-hash.cjs",
    "dev": "vite",
    "storybook": "storybook dev -p 6006",
    "storybook:build": "storybook build -o storybook-static",
    "test:storybook": "bash scripts/test-storybook.sh",
    "scaffold": "node .claude/skills/scaffold-feature/scaffold.mjs",
    "build": "vite build",
    "preview": "vite preview",
    "prettify": "oxfmt",
    "fmt": "oxfmt --check",
    "lint": "oxlint ./src && stylelint \"src/**/*.scss\"",
    "lint:js": "oxlint ./src",
    "lint:generated": "oxlint ./src/api/generated --fix",
    "lint:fix": "oxlint ./src --fix",
    "lint:styles": "stylelint \"src/**/*.scss\"",
    "test:plugins": "node --test \"plugins/__tests__/*.test.mjs\"",
    "jest": "jest",
    "jest:coverage": "jest --coverage",
    "jest:watch": "jest --watch",
    "postinstall": "pnpm i18n:generate-hash && ([ -n \"$CI\" ] || pnpm husky:configure) && node scripts/update-registry.cjs",
    "husky:configure": "cd .. && husky frontend/.husky",
    "commitlint": "commitlint --edit $1",
    "test": "jest",
    "test:changedsince": "jest --changedSince=main --coverage --silent",
    "generate:api": "orval --config ./orval.config.ts && sh scripts/post-types-generation.sh",
    "generate:config:web-settings": "json2ts ./src/schemas/generated/webSettings.schema.json -o src/types/generated/webSettings.ts --style.useTabs --style.tabWidth=1 --style.singleQuote --bannerComment '/* AUTO GENERATED FILE - DO NOT EDIT - GENERATED FROM frontend/src/schemas/generated/webSettings.schema.json */'"
  },
  "engines": {
    "node": ">=22.0.0",
    "pnpm": ">=10.0.0 <11.0.0"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@ant-design/colors": "6.0.0",
    "@codemirror/autocomplete": "6.18.6",
    "@codemirror/lang-javascript": "6.2.3",
    "@codemirror/state": "6.5.2",
    "@codemirror/view": "6.36.6",
    "@dnd-kit/core": "6.1.0",
    "@dnd-kit/modifiers": "7.0.0",
    "@dnd-kit/sortable": "8.0.0",
    "@dnd-kit/utilities": "3.2.2",
    "@grafana/data": "^11.6.15",
    "@lezer/highlight": "1.2.1",
    "@monaco-editor/react": "^4.7.0",
    "@sentry/react": "10.57.0",
    "@sentry/vite-plugin": "5.3.0",
    "@signozhq/design-tokens": "2.2.1",
    "@signozhq/icons": "0.4.0",
    "@signozhq/ui": "0.2.0",
    "@tanstack/react-table": "8.21.3",
    "@tanstack/react-virtual": "3.13.22",
    "@uiw/codemirror-theme-copilot": "4.23.11",
    "@uiw/codemirror-theme-github": "4.24.1",
    "@uiw/react-codemirror": "4.23.10",
    "@visx/group": "3.3.0",
    "@visx/hierarchy": "3.12.0",
    "@visx/shape": "3.5.0",
    "@visx/tooltip": "3.3.0",
    "@vitejs/plugin-react": "5.1.4",
    "ansi-to-html": "0.7.2",
    "antd": "5.11.0",
    "antd-table-saveas-excel": "2.2.1",
    "antlr4": "4.13.2",
    "axios": "1.21.0",
    "babel-jest": "^29.6.4",
    "chart.js": "3.9.1",
    "chartjs-adapter-date-fns": "^2.0.0",
    "chartjs-plugin-annotation": "^1.4.0",
    "classnames": "2.3.2",
    "color": "^4.2.1",
    "crypto-js": "4.2.0",
    "d3-hierarchy": "3.1.2",
    "dayjs": "^1.10.7",
    "dompurify": "3.4.15",
    "event-source-polyfill": "1.0.31",
    "eventemitter3": "5.0.1",
    "history": "4.10.1",
    "html-to-image": "1.11.13",
    "http-status-codes": "2.3.0",
    "i18next": "^21.6.12",
    "i18next-browser-languagedetector": "^6.1.3",
    "i18next-http-backend": "^4.0.0",
    "immer": "11.1.3",
    "jest": "30.2.0",
    "js-base64": "^3.7.2",
    "lodash-es": "^4.17.21",
    "monaco-editor": "0.55.1",
    "motion": "12.4.13",
    "nuqs": "2.8.8",
    "overlayscrollbars": "^2.16.0",
    "overlayscrollbars-react": "^0.5.6",
    "papaparse": "5.4.1",
    "posthog-js": "1.298.0",
    "react": "18.2.0",
    "react-addons-update": "15.6.3",
    "react-dnd": "16.0.1",
    "react-dnd-html5-backend": "16.0.1",
    "react-dom": "18.2.0",
    "react-drag-listview": "2.0.0",
    "react-force-graph-2d": "^1.29.1",
    "react-full-screen": "1.1.1",
    "react-grid-layout": "^1.3.4",
    "react-helmet-async": "1.3.0",
    "react-hook-form": "7.71.2",
    "react-i18next": "^11.16.1",
    "react-json-tree": "^0.20.0",
    "react-markdown": "8.0.7",
    "react-query": "3.39.3",
    "react-redux": "^7.2.2",
    "react-rnd": "^10.5.3",
    "react-router-dom": "^5.2.0",
    "react-router-dom-v5-compat": "6.30.6",
    "react-syntax-highlighter": "15.5.0",
    "react-use": "^17.3.2",
    "react-virtuoso": "4.0.3",
    "redux": "^4.0.5",
    "redux-thunk": "^2.3.0",
    "rehype-raw": "7.0.0",
    "remark-gfm": "^3.0.1",
    "rollup-plugin-visualizer": "7.0.0",
    "rrule": "2.8.1",
    "styled-components": "^5.3.11",
    "timestamp-nano": "^1.0.0",
    "translation-resilience": "^0.2.0",
    "typescript": "5.9.3",
    "uplot": "1.6.31",
    "uuid": "14.0.1",
    "vite": "npm:[email protected]",
    "zod": "4.3.6",
    "zustand": "5.0.11"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "@babel/core": "^7.22.11",
    "@babel/plugin-proposal-class-properties": "^7.18.6",
    "@babel/preset-env": "^7.22.14",
    "@babel/preset-react": "^7.12.13",
    "@babel/preset-typescript": "^7.21.4",
    "@commitlint/cli": "20.4.4",
    "@commitlint/config-conventional": "20.4.4",
    "@jest/globals": "30.4.1",
    "@jest/types": "30.2.0",
    "@storybook/addon-a11y": "10.6.3",
    "@storybook/addon-docs": "10.6.3",
    "@storybook/react-vite": "10.6.3",
    "@storybook/test-runner": "0.24.5",
    "@testing-library/dom": "8.20.0",
    "@testing-library/jest-dom": "5.16.5",
    "@testing-library/react": "13.4.0",
    "@testing-library/user-event": "14.4.3",
    "@types/color": "^3.0.3",
    "@types/crypto-js": "4.2.2",
    "@types/d3-hierarchy": "1.1.11",
    "@types/event-source-polyfill": "^1.0.0",
    "@types/history": "4.7.11",
    "@types/jest": "30.0.0",
    "@types/lodash-es": "^4.17.4",
    "@types/node": "^22.20.5",
    "@types/papaparse": "5.3.7",
    "@types/react": "18.0.26",
    "@types/react-addons-update": "0.14.21",
    "@types/react-dom": "18.0.10",
    "@types/react-grid-layout": "^1.1.2",
    "@types/react-redux": "^7.1.11",
    "@types/react-resizable": "3.0.3",
    "@types/react-router-dom": "^5.1.6",
    "@types/react-syntax-highlighter": "15.5.13",
    "@types/redux-mock-store": "1.0.4",
    "@types/styled-components": "^5.1.4",
    "@types/testing-library__jest-dom": "^5.14.5",
    "@typescript/native-preview": "7.0.0-dev.20260430.1",
    "eslint-plugin-sonarjs": "4.0.2",
    "husky": "^9.1.7",
    "jest-environment-jsdom": "29.7.0",
    "jest-styled-components": "^7.2.0",
    "json-schema-to-typescript": "^15.0.4",
    "lint-staged": "^17.0.4",
    "msw": "1.3.2",
    "orval": "8.22.0",
    "oxfmt": "0.73.0",
    "oxlint": "1.88.0",
    "oxlint-tsgolint": "7.0.2004",
    "postcss": "8.5.26",
    "postcss-scss": "4.0.9",
    "react-resizable": "3.0.4",
    "redux-mock-store": "1.5.4",
    "sass": "1.97.3",
    "sharp": "0.35.4",
    "storybook": "10.6.3",
    "stylelint": "17.15.0",
    "svgo": "4.1.0",
    "ts-jest": "29.4.15",
    "typescript-plugin-css-modules": "5.2.0",
    "use-sync-external-store": "1.6.0",
    "vite-plugin-checker": "0.12.0",
    "vite-plugin-compression": "0.5.1",
    "vite-plugin-image-optimizer": "2.0.3",
    "vite-tsconfig-paths": "6.1.1"
  },
  "lint-staged": {
    "*.(js|jsx|ts|tsx)": [
      "sh -c tsgo --noEmit"
    ],
    "*.(js|jsx|ts|tsx|scss|css)": [
      "oxlint --fix --quiet --no-error-on-unmatched-pattern",
      "oxfmt --write"
    ],
    "*.(scss|css)": [
      "stylelint"
    ]
  }
}