first commit
This commit is contained in:
41
package.json.back
Normal file
41
package.json.back
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
// 项目基本信息配置
|
||||
// 项目名称
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user