Files
MyBlogWeb/package.json.back
2026-02-17 21:11:10 +08:00

42 lines
994 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
// 项目基本信息配置
// 项目名称
"name": "my_blog",
// 版本号
"version": "0.0.0",
// 设置为私有包
"private": true,
// 指定使用ES模块
"type": "module",
// npm脚本命令配置
"scripts": {
// 开发服务器启动命令指定端口为8558
"dev": "vite --port 8558",
// 生产环境构建命令
"build": "vite build",
// 预览生产构建结果
"preview": "vite preview"
},
// 生产环境依赖包
"dependencies": {
// Vue.js核心框架
"vue": "^3.5.27",
// Vue路由管理器
"vue-router": "^4.6.4"
},
// 开发环境依赖包
"devDependencies": {
// Vite的Vue插件
"@vitejs/plugin-vue": "^6.0.3",
// Vite构建工具
"vite": "^7.3.1",
// Vue开发者工具插件
"vite-plugin-vue-devtools": "^8.0.5"
},
// Node.js版本要求
"engines": {
// 支持Node.js 20.19.0及以上版本或22.12.0及以上版本
"node": "^20.19.0 || >=22.12.0"
}
}