- 添加Three.js基础场景配置和核心功能模块 - 实现模型加载器、动画循环和交互选择器 - 添加温度、压力等仪表盘组件 - 配置Vite构建工具和ESLint规范 - 添加基础UI组件和布局系统 - 实现数据可视化图表组件 - 配置Nginx部署文件 - 添加钢铁厂设备数据模型
74 lines
2.1 KiB
JSON
74 lines
2.1 KiB
JSON
{
|
|
"name": "threejs-digital-twin",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"prepare": "husky",
|
|
"stylelint:fix": "stylelint '**/*.{css,scss,vue,html}' --fix",
|
|
"eslint:fix": "eslint . --ext .vue,.js,.cjs,.mjs,.ts,.mts,.jsx,.tsxx --fix --cache",
|
|
"eslint": "eslint . --ext .vue,.js,.cjs,.mjs,.ts,.mts,.jsx,.tsx",
|
|
"stylelint": "stylelint '**/*.{css,scss,vue,html}'",
|
|
"lint": "yarn stylelint -f json > stylelint-report.json && yarn eslint -f json -o eslint-report.json"
|
|
},
|
|
"dependencies": {
|
|
"@tweenjs/tween.js": "^23.1.2",
|
|
"@vueuse/core": "^10.11.0",
|
|
"echarts": "^5.5.1",
|
|
"element-plus": "^2.7.6",
|
|
"lodash": "^4.17.21",
|
|
"mitt": "^3.0.1",
|
|
"signals": "^1.0.0",
|
|
"three": "^0.180.0",
|
|
"vue": "^3.4.29",
|
|
"vue-router": "4"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.3.0",
|
|
"@commitlint/config-conventional": "^19.2.2",
|
|
"@types/lodash": "^4.17.6",
|
|
"@types/signals": "^1.0.4",
|
|
"@types/three": "^0.165.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
"@typescript-eslint/parser": "^7.14.1",
|
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
"commitizen": "^4.3.0",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"eslint": "^9.5.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-vue": "^9.26.0",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^15.2.7",
|
|
"postcss": "^8.4.38",
|
|
"postcss-html": "^1.7.0",
|
|
"prettier": "^3.3.2",
|
|
"sass": "^1.77.6",
|
|
"stylelint": "^16.6.1",
|
|
"stylelint-config-html": "^1.1.0",
|
|
"stylelint-config-recess-order": "^5.0.1",
|
|
"stylelint-config-recommended": "^14.0.1",
|
|
"stylelint-config-recommended-scss": "^14.0.0",
|
|
"stylelint-prettier": "^5.0.0",
|
|
"stylelint-scss": "^6.3.2",
|
|
"typescript": "^5.2.2",
|
|
"unplugin-element-plus": "^0.8.0",
|
|
"vite": "^5.3.1",
|
|
"vue-tsc": "^2.0.21"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"volta": {
|
|
"node": "20.19.6"
|
|
}
|
|
}
|