mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-11-04 23:32:48 +08:00
element-plus 2.14.7, vue-i18n 11.4.13, vite 8.3.2, vitest + coverage-v8 5.0.3, vue-tsc 3.3.12, eslint 10.12.0, eslint-plugin-jsdoc 65.1.0, globals 17.13.0, @types/node 26.6.4, sass 1.105.1. skipped typescript 7.0.2 (major, toolchain not validated). Co-Authored-By: Claude Code <noreply@anthropic.com>
113 lines
3.9 KiB
JSON
113 lines
3.9 KiB
JSON
{
|
|
"name": "iot-dc3-web",
|
|
"version": "2026.9.22",
|
|
"private": true,
|
|
"author": "pnoker",
|
|
"description": "IoT DC3 Industrial AI IoT Platform frontend — Vue 3 + TypeScript + Element Plus",
|
|
"license": "AGPL-3.0-or-later",
|
|
"homepage": "https://github.com/pnoker/iot-dc3",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/pnoker/iot-dc3.git"
|
|
},
|
|
"keywords": [
|
|
"iot",
|
|
"dc3",
|
|
"web",
|
|
"vue3",
|
|
"typescript",
|
|
"element-plus"
|
|
],
|
|
"engines": {
|
|
"node": ">=22.0.0"
|
|
},
|
|
"packageManager": "pnpm@12.6.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host --mode dev",
|
|
"dev:mock": "vite --host --mode mock",
|
|
"dev:prod": "vite --host --mode production",
|
|
"serve:e2e": "vite build --mode dev && node scripts/testing/e2e-server.mjs",
|
|
"serve:e2e:mock": "vite build --mode mock && node scripts/testing/e2e-server.mjs",
|
|
"build": "vite build",
|
|
"build:mock": "vite build --mode mock",
|
|
"preview": "vite preview",
|
|
"check": "vue-tsc --noEmit --skipLibCheck",
|
|
"type-check": "pnpm run check",
|
|
"lint": "eslint . --fix",
|
|
"lint:check": "eslint .",
|
|
"test": "vitest run",
|
|
"test:unit": "vitest run tests/unit",
|
|
"test:api": "vitest run tests/api",
|
|
"test:component": "vitest run tests/component",
|
|
"test:views": "vitest run tests/views",
|
|
"test:guard": "vitest run tests/guardrails",
|
|
"test:agentic-dialogue": "vitest run tests/agentic-dialogue",
|
|
"eval:agentic-dialogue": "vitest run tests/agentic-dialogue/live/dialogue-live.eval.test.ts",
|
|
"eval:agentic-scenarios": "vitest run tests/agentic-dialogue/live/scenario-live.eval.test.ts",
|
|
"test:impact": "node scripts/testing/changed-test-plan.mjs",
|
|
"test:ci": "vitest run --coverage",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:responsive": "E2E_SERVER_MODE=mock playwright test tests/e2e/specs/responsive.spec.ts",
|
|
"test:e2e:headed": "E2E_HEADLESS=false playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:sweep": "node tests/e2e/browser-sweep.mjs",
|
|
"test:e2e:sweep:headed": "E2E_HEADLESS=false node tests/e2e/browser-sweep.mjs",
|
|
"test:all": "pnpm run test && pnpm run test:e2e",
|
|
"prepare": "cd .. && git config core.hooksPath .husky/_",
|
|
"clean": "rimraf dist",
|
|
"headers": "find src -name '*.ts' -not -path '*ambient/*' -o -name '*.vue' | xargs node scripts/add-license-header.mjs",
|
|
"headers:check": "find src -name '*.ts' -not -path '*ambient/*' -o -name '*.vue' | xargs node scripts/add-license-header.mjs --check"
|
|
},
|
|
"dependencies": {
|
|
"@antv/g2": "^5.4.8",
|
|
"@antv/g6": "^5.1.1",
|
|
"@element-plus/icons-vue": "^2.3.2",
|
|
"axios": "^1.20.0",
|
|
"dayjs": "^1.11.23",
|
|
"dompurify": "^3.4.16",
|
|
"element-plus": "^2.14.7",
|
|
"marked": "^18.0.14",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^4.0.3",
|
|
"vue": "^3.5.43",
|
|
"vue-element-plus-x": "^2.0.3",
|
|
"vue-i18n": "^11.4.13",
|
|
"vue-router": "^5.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@playwright/test": "^1.63.0",
|
|
"@types/node": "^26.6.4",
|
|
"@types/nprogress": "^0.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.71.0",
|
|
"@typescript-eslint/parser": "^8.71.0",
|
|
"@vitejs/plugin-vue": "^6.0.9",
|
|
"@vitest/coverage-v8": "^5.0.3",
|
|
"@vue/eslint-config-typescript": "^14.9.0",
|
|
"@vue/test-utils": "^2.5.1",
|
|
"eslint": "^10.12.0",
|
|
"eslint-plugin-jsdoc": "^65.1.0",
|
|
"eslint-plugin-vue": "^10.11.1",
|
|
"globals": "^17.13.0",
|
|
"happy-dom": "^20.14.5",
|
|
"jsdom": "^30.1.1",
|
|
"lint-staged": "^17.6.0",
|
|
"playwright": "^1.63.0",
|
|
"sass": "^1.105.1",
|
|
"typescript": "~5.9.3",
|
|
"unplugin-auto-import": "^21.1.0",
|
|
"unplugin-vue-components": "^32.1.0",
|
|
"vite": "^8.3.2",
|
|
"vitest": "^5.0.3",
|
|
"vue-eslint-parser": "^10.4.1",
|
|
"vue-tsc": "^3.3.12"
|
|
},
|
|
"lint-staged": {
|
|
"*.{vue,js,mjs,cjs,ts,jsx,tsx}": [
|
|
"eslint --fix --config eslint.config.mjs"
|
|
]
|
|
}
|
|
}
|