openobserve/web/package.json

168 lines
6.2 KiB
JSON

{
"name": "zinc-observe-web",
"version": "0.1.0",
"license": "AGPL-3.0",
"private": true,
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"dev": "vite --base /web/",
"devcloud": "NODE_ENV=devcloud vite --mode=devcloud",
"build-alpha1": "NODE_OPTIONS='--max-old-space-size=8192' run-p type-check build-only-alpha1",
"build-cloud-prod": "NODE_OPTIONS='--max-old-space-size=8192' run-p type-check build-only-cloud-prod",
"build": "NODE_OPTIONS='--max-old-space-size=8192' run-p type-check build-only",
"postbuild": "run-p copy",
"preview": "vite preview",
"copy": "cd dist && mkdir src && cd src && mkdir assets && cd .. && cd .. && cp -r src/assets/* dist/src/assets/",
"test:unit": "vitest --environment jsdom --root src/",
"test:unit:coverage": "NODE_OPTIONS='--max_old_space_size=8192' vitest --coverage --run",
"test:coverage:check": "./coverage.sh check",
"test:e2e": "start-server-and-test preview :4173 'cypress run --e2e'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'",
"build-only": "vite build",
"build-only-alpha1": "vite build --mode=alpha1",
"build-only-cloud-prod": "vite build --mode=production",
"type-check": "NODE_OPTIONS=--max-old-space-size=8192 vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"type-check:app": "NODE_OPTIONS=--max-old-space-size=12288 vue-tsc --noEmit -p tsconfig.app.json --composite false",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
"lint:ci": "eslint \"src/**/*.vue\" --no-fix",
"lint:styles": "stylelint \"src/**/*.{css,vue}\"",
"lint:tokens": "node scripts/check-css-tokens.mjs",
"lint:token-purity": "node scripts/check-token-purity.mjs",
"lint:design": "node scripts/check-design-consistency.mjs",
"lint:design:strict": "node scripts/check-design-consistency.mjs --strict",
"format": "prettier --write \"src/**/*.{ts,tsx,vue,js,json,scss,css,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,vue,js,json,scss,css,md}\"",
"verify": "npm run type-check:app && npm run lint:ci && npm run lint:styles && npm run lint:tokens && npm run lint:token-purity && npm run lint:design:strict",
"verify:all": "npm run verify && npm run test:coverage:check"
},
"dependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@joakimono/echarts-extension-leaflet": "^1.1.0",
"@openobserve/browser-logs": "0.4.1",
"@openobserve/browser-rum": "0.4.1",
"@openobserve/node-sql-parser": "^0.1.5",
"@openobserve/rrweb-player": "^0.2.1",
"@rudderstack/analytics-js": "3.6.0",
"@tanstack/vue-form": "^1.29.1",
"@tanstack/vue-table": "^8.21.3",
"@tanstack/vue-virtual": "^3.13.16",
"@types/js-yaml": "^4.0.9",
"@vue-flow/background": "^1.3.2",
"@vue-flow/controls": "^1.1.3",
"@vue-flow/core": "^1.48.1",
"acorn": "^8.15.0",
"acorn-walk": "^8.3.4",
"cron-parser": "^5.4.0",
"d3-force": "^3.0.0",
"d3-scale": "^4.0.2",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"dompurify": "^3.4.12",
"echarts": "^6.1.0",
"echarts-gl": "^2.1.0",
"escodegen": "^2.1.0",
"flag-icons": "^7.5.0",
"gridstack": "^12.4.2",
"highlight.js": "^11.11.1",
"js-beautify": "^1.15.4",
"js-cookie": "^3.0.7",
"js-yaml": "^4.3.0",
"json-2-csv": "^5.5.11",
"jszip": "^3.10.1",
"leaflet": "^1.9.4",
"lodash-es": "^4.18.1",
"lucide-vue-next": "^0.562.0",
"luxon": "^3.7.2",
"marked": "^17.0.1",
"moment": "^2.30.1",
"moment-timezone": "^0.6.0",
"monaco-editor": "^0.52.2",
"node-polyfill-webpack-plugin": "^4.0.0",
"reka-ui": "^2.9.6",
"reodotdev": "^1.0.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-polyfill-node": "^0.13.0",
"sql-formatter": "^15.6.12",
"tw-animate-css": "^1.4.0",
"uuid": "^14.0.0",
"vue": "^3.5.26",
"vue-drag-resize": "^1.5.4",
"vue-draggable-next": "^2.3.0",
"vue-i18n": "^11.2.8",
"vue-router": "^4.6.4",
"vuex": "^4.1.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@cypress/vue": "^6.0.2",
"@cypress/webpack-dev-server": "^5.4.1",
"@iconify-json/majesticons": "^1.2.4",
"@iconify-json/material-symbols": "^1.2.72",
"@iconify-json/mdi": "^1.2.3",
"@iconify-json/octicon": "^1.2.25",
"@iconify-json/si": "^1.2.17",
"@rushstack/eslint-patch": "^1.15.0",
"@tailwindcss/postcss": "^4.1.18",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.18",
"@types/d3-force": "^3.0.10",
"@types/d3-scale": "^4.0.9",
"@types/fs-extra": "^11.0.4",
"@types/js-cookie": "^3.0.6",
"@types/jsdom": "^27.0.0",
"@types/leaflet": "^1.9.21",
"@types/lodash-es": "^4.17.12",
"@types/luxon": "^3.7.1",
"@types/node": "^25.0.3",
"@types/uuid": "^11.0.0",
"@vitejs/plugin-vue": "^6.0.3",
"@vitejs/plugin-vue-jsx": "^5.1.3",
"@vitest/coverage-v8": "^4.0.16",
"@vitest/ui": "^4.0.16",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.6.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.8.1",
"autoprefixer": "^10.4.23",
"c8": "^10.1.3",
"cypress": "^15.19.0",
"cypress-localstorage-commands": "^2.2.8",
"dotenv": "^17.2.3",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-formatter-unix": "^9.0.1",
"eslint-plugin-cypress": "^5.2.0",
"eslint-plugin-vue": "^10.6.2",
"fs-extra": "^11.3.3",
"happy-dom": "^20.8.9",
"jsdom": "^27.4.0",
"msw": "^2.12.7",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.10",
"postcss-html": "^1.8.1",
"prettier": "^3.7.4",
"prettier-plugin-tailwindcss": "^0.8.1",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-visualizer": "^6.0.5",
"sass": "^1.97.1",
"sass-loader": "^16.0.6",
"start-server-and-test": "^2.1.3",
"stylelint": "^17.14.0",
"tailwindcss": "^4.1.18",
"typescript": "~5.9.3",
"unplugin-icons": "^23.0.1",
"vite": "^7.3.2",
"vite-plugin-istanbul": "^7.2.1",
"vite-plugin-monaco-editor": "^1.1.0",
"vitest": "^4.0.16",
"vitest-canvas-mock": "^1.1.3",
"vue-tsc": "^3.2.1"
},
"overrides": {
"axios": "1.13.2"
}
}