{
"name": "vue-manage-system",//模块名称,一般就是工程名
"version": "4.0.1",//模块版本,就是项目版本,一般发布到第几期,就是这个
"private": true,//如果值为true,npm将拒绝发布它
"scripts": {//值是一个对象,里面指定了项目的生命周期各个环节需要执行的命令
"dev": "npm run serve",//这个就是在命令行执行npm run dev
"serve": "vue-cli-service serve",//
"build": "vue-cli-service build"
},
"dependencies": {//配置模块依赖的模块列表,key是模块名称,value是版本范围,
//版本范围是一个字符,可被一个或多个空格分割
"axios": "^0.18.0",
"qs": "^6.7.0",
"babel-polyfill": "^6.26.0",
"element-ui": "^2.9.2",
"mavon-editor": "^2.6.17",
"vue": "^2.6.10",
"vue-cropperjs": "^3.0.0",
"vue-i18n": "^8.10.0",
"vue-quill-editor": "^3.0.6",
"vue-router": "^3.0.1",
"vue-schart": "^1.0.0",
"vuedraggable": "^2.17.0"
},
"devDependencies": {//这里写的依赖是用于开发环境的,不发布到生产环境
"@vue/cli-plugin-babel": "^3.2.0",
"@vue/cli-service": "^3.2.0",
"vue-template-compiler": "^2.5.21"
}
}
网友评论