manifest.json 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name" : "",
  3. "appid" : "__UNI__EB71401",
  4. "description" : "",
  5. "versionName" : "3.5.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. "app-plus" : {
  9. /* 5+App特有相关 */
  10. "usingComponents" : true,
  11. "nvueCompiler" : "uni-app",
  12. "nvueStyleCompiler" : "uni-app",
  13. "splashscreen" : {
  14. "alwaysShowBeforeRender" : true,
  15. "waiting" : true,
  16. "autoclose" : true,
  17. "delay" : 0
  18. },
  19. "modules" : {},
  20. /* 模块配置 */
  21. "distribute" : {
  22. /* 应用发布信息 */
  23. "android" : {
  24. /* android打包配置 */
  25. "permissions" : [
  26. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  27. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  28. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  29. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  30. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  31. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  32. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  33. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  34. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  35. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  36. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  37. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  38. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  39. "<uses-feature android:name=\"android.hardware.camera\"/>",
  40. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  41. ]
  42. },
  43. "ios" : {},
  44. /* ios打包配置 */
  45. "sdkConfigs" : {}
  46. }
  47. },
  48. /* SDK配置 */
  49. "quickapp" : {},
  50. /* 快应用特有相关 */
  51. "mp-weixin" : {
  52. /* 小程序特有相关 */
  53. "appid" : "",
  54. "setting" : {
  55. "urlCheck" : false
  56. },
  57. "usingComponents" : true
  58. },
  59. "vueVersion" : "3",
  60. // h5特有相关
  61. "h5" : {
  62. "devServer" : {
  63. "proxy" : {
  64. "/service" : {
  65. "target" : "http://192.168.3.108", //请求的目标域名
  66. // "target" : "http://192.168.4.163", //宋程玉本地
  67. // "target" : "http://192.168.4.105", //程肖本地
  68. "changeOrigin" : true, //是否跨域
  69. "secure" : false
  70. },
  71. "/file" : {
  72. "target" : "http://192.168.3.108", //请求的目标域名
  73. "changeOrigin" : true, //是否跨域
  74. "secure" : false
  75. }
  76. },
  77. "port" : 8081 //当前项目的端口号
  78. },
  79. "router" : {
  80. "base" : "/user/"
  81. },
  82. "optimization" : {
  83. "treeShaking" : {
  84. "enable" : true
  85. }
  86. }
  87. }
  88. }