package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "uni-app": {
  3. "scripts": {
  4. "dev-h5": {
  5. "title": "开发版H5",
  6. "browser": "chrome",
  7. "env": {
  8. "UNI_PLATFORM": "h5",
  9. "UNI_BASE_URL": "https://mtrappapi.tfcliao.com"
  10. },
  11. "define": {
  12. "DEV-H5": true
  13. }
  14. },
  15. "prod-h5": {
  16. "title": "正式H5",
  17. "browser": "chrome",
  18. "env": {
  19. "UNI_PLATFORM": "h5",
  20. "UNI_BASE_URL": "https://mtrappapi.tfcliao.com"
  21. },
  22. "define": {
  23. "DEV-H5": true
  24. }
  25. },
  26. "test-h5": {
  27. "title": "测试H5",
  28. "browser": "chrome",
  29. "env": {
  30. "UNI_PLATFORM": "h5",
  31. "UNI_BASE_URL": "https://mtrappapitest.tfcliao.com"
  32. },
  33. "define": {
  34. "DEV-H5": true
  35. }
  36. },
  37. "devwx": {
  38. "title": "开发版微信",
  39. "env": {
  40. "UNI_PLATFORM": "mp-weixin",
  41. "UNI_BASE_URL": "https://mtrappapi.tfcliao.com"
  42. },
  43. "define": {
  44. "MP-DINGTALK": true
  45. }
  46. },
  47. "prewx": {
  48. "title": "正式版微信",
  49. "env": {
  50. "UNI_PLATFORM": "mp-weixin",
  51. "UNI_BASE_URL": "https://mtrappapi.tfcliao.com"
  52. },
  53. "define": {
  54. "MP-DINGTALK": true
  55. }
  56. },
  57. "testvx": {
  58. "title": "测试版微信",
  59. "env": {
  60. "UNI_PLATFORM": "mp-weixin",
  61. "UNI_BASE_URL": "https://mtrappapitest.tfcliao.com"
  62. },
  63. "define": {
  64. "MP-DINGTALK": true
  65. }
  66. }
  67. }
  68. }
  69. }