mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-10-29 17:23:17 +08:00
111 lines
3.0 KiB
JSON
111 lines
3.0 KiB
JSON
{
|
|
"name": "iot-dc3-web",
|
|
"version": "2025.9.0",
|
|
"private": true,
|
|
"author": "pnoker",
|
|
"description": "IoT DC3 平台前端页面",
|
|
"license": "Apache-2.0",
|
|
"homepage": "https://github.com/pnoker/iot-dc3-web",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/pnoker/iot-dc3-web.git"
|
|
},
|
|
"keywords": [
|
|
"iot",
|
|
"dc3",
|
|
"web",
|
|
"vue3",
|
|
"typescript",
|
|
"element-plus",
|
|
"tauri"
|
|
],
|
|
"engines": {
|
|
"node": ">=22.0.0"
|
|
},
|
|
"packageManager": "pnpm@10.33.2",
|
|
"type": "module",
|
|
"scripts": {
|
|
"prepare": "husky",
|
|
"dev": "vite --host --mode dev",
|
|
"dev:prod": "vite --host --mode production",
|
|
"build": "vite build",
|
|
"build:tauri": "tauri build",
|
|
"preview": "vite preview",
|
|
"check": "vue-tsc --noEmit --skipLibCheck",
|
|
"type-check": "vue-tsc --noEmit --skipLibCheck",
|
|
"format": "prettier --write \"src/**/*.{vue,ts,js,jsx,tsx,scss,css,json,md}\"",
|
|
"lint": "eslint --fix \"src/**/*.{vue,ts,js,jsx,tsx}\" && prettier --write \"src/**/*.{scss,css,json,md}\"",
|
|
"lint:check": "eslint \"src/**/*.{vue,ts,js,jsx,tsx}\"",
|
|
"tauri": "tauri",
|
|
"clean": "rimraf dist"
|
|
},
|
|
"dependencies": {
|
|
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
"@antv/g2": "^5.4.8",
|
|
"@element-plus/icons-vue": "^2.3.2",
|
|
"@tauri-apps/api": "^2.10.1",
|
|
"@tauri-apps/plugin-shell": "^2.3.5",
|
|
"axios": "^1.15.2",
|
|
"clipboard": "^2.0.11",
|
|
"echarts": "^6.0.0",
|
|
"element-plus": "^2.13.7",
|
|
"highlight.js": "^11.11.1",
|
|
"js-base64": "^3.7.8",
|
|
"js-cookie": "^3.0.5",
|
|
"js-md5": "^0.8.3",
|
|
"json-bigint": "^1.0.0",
|
|
"marked": "^18.0.2",
|
|
"mitt": "^3.0.1",
|
|
"moment": "^2.30.1",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^3.0.4",
|
|
"screenfull": "^6.0.2",
|
|
"vue": "^3.5.33",
|
|
"vue-router": "^5.0.6"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@tauri-apps/cli": "^2.10.1",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/json-bigint": "^1.0.4",
|
|
"@types/node": "^25.6.0",
|
|
"@types/nprogress": "^0.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.59.1",
|
|
"@typescript-eslint/parser": "^8.59.1",
|
|
"@vitejs/plugin-legacy": "^8.0.1",
|
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
"@vue/eslint-config-typescript": "^14.7.0",
|
|
"core-js": "^3.49.0",
|
|
"dotenv": "^17.4.2",
|
|
"eslint": "^10.2.1",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.5",
|
|
"eslint-plugin-vue": "^10.9.0",
|
|
"globals": "^17.5.0",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.4.0",
|
|
"minimist": "^1.2.8",
|
|
"prettier": "^3.8.3",
|
|
"sass": "^1.99.0",
|
|
"terser": "^5.46.2",
|
|
"typescript": "~6.0.3",
|
|
"unplugin-auto-import": "^21.0.0",
|
|
"unplugin-vue-components": "^32.0.0",
|
|
"vite": "^8.0.10",
|
|
"vue-eslint-parser": "^10.4.0",
|
|
"vue-tsc": "^3.2.7"
|
|
},
|
|
"lint-staged": {
|
|
"*.{vue,js,ts,jsx,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{scss,css}": [
|
|
"prettier --write"
|
|
],
|
|
"*.{json,md}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|