package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "name": "payment-mini",
  3. "version": "1.0.0",
  4. "private": true,
  5. "description": "支付宝企业码支付管理平台",
  6. "templateInfo": {
  7. "name": "default",
  8. "typescript": true,
  9. "css": "Less",
  10. "framework": "React"
  11. },
  12. "scripts": {
  13. "prepare": "husky",
  14. "new": "taro new",
  15. "build:weapp": "taro build --type weapp",
  16. "build:swan": "taro build --type swan",
  17. "build:alipay": "taro build --type alipay && node scripts/fix-alipay-event-source.js",
  18. "build:tt": "taro build --type tt",
  19. "build:h5": "taro build --type h5",
  20. "build:rn": "taro build --type rn",
  21. "build:qq": "taro build --type qq",
  22. "build:jd": "taro build --type jd",
  23. "build:harmony-hybrid": "taro build --type harmony-hybrid",
  24. "dev:weapp": "npm run build:weapp -- --watch",
  25. "dev:swan": "npm run build:swan -- --watch",
  26. "dev:alipay": "taro build --type alipay --watch && node scripts/fix-alipay-event-source.js",
  27. "dev:tt": "npm run build:tt -- --watch",
  28. "dev:h5": "npm run build:h5 -- --watch",
  29. "dev:rn": "npm run build:rn -- --watch",
  30. "dev:qq": "npm run build:qq -- --watch",
  31. "dev:jd": "npm run build:jd -- --watch",
  32. "dev:harmony-hybrid": "npm run build:harmony-hybrid -- --watch",
  33. "lint": "eslint --ext .ts,.tsx,.js,.jsx src",
  34. "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,less,css,md}\"",
  35. "fix:alipay": "node scripts/fix-alipay-event-source.js"
  36. },
  37. "lint-staged": {
  38. "src/**/*.{ts,tsx,js,jsx}": [
  39. "eslint --fix",
  40. "prettier --write"
  41. ],
  42. "src/**/*.{json,less,css,md}": [
  43. "prettier --write"
  44. ]
  45. },
  46. "browserslist": [
  47. "defaults and fully supports es6-module",
  48. "maintained node versions"
  49. ],
  50. "author": "",
  51. "dependencies": {
  52. "@babel/runtime": "^7.24.4",
  53. "@nutui/nutui-react-taro": "^3.0.19-cpp.26-beta.5",
  54. "@tarojs/components": "4.1.11",
  55. "@tarojs/helper": "4.1.11",
  56. "@tarojs/plugin-framework-react": "4.1.11",
  57. "@tarojs/plugin-html": "^4.1.11",
  58. "@tarojs/plugin-platform-alipay": "4.1.11",
  59. "@tarojs/plugin-platform-h5": "4.1.11",
  60. "@tarojs/plugin-platform-harmony-hybrid": "4.1.11",
  61. "@tarojs/plugin-platform-jd": "4.1.11",
  62. "@tarojs/plugin-platform-qq": "4.1.11",
  63. "@tarojs/plugin-platform-swan": "4.1.11",
  64. "@tarojs/plugin-platform-tt": "4.1.11",
  65. "@tarojs/plugin-platform-weapp": "4.1.11",
  66. "@tarojs/react": "4.1.11",
  67. "@tarojs/runtime": "4.1.11",
  68. "@tarojs/shared": "4.1.11",
  69. "@tarojs/taro": "4.1.11",
  70. "humps": "^2.0.1",
  71. "react": "^18.0.0",
  72. "react-dom": "^18.0.0",
  73. "zustand": "^5.0.12"
  74. },
  75. "devDependencies": {
  76. "@babel/core": "^7.24.4",
  77. "@babel/plugin-transform-class-properties": "7.25.9",
  78. "@babel/preset-react": "^7.24.1",
  79. "@commitlint/cli": "^19.8.1",
  80. "@commitlint/config-conventional": "^19.8.1",
  81. "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
  82. "@tarojs/cli": "4.1.11",
  83. "@tarojs/plugin-generator": "4.1.11",
  84. "@tarojs/taro-loader": "4.1.11",
  85. "@tarojs/webpack5-runner": "4.1.11",
  86. "@types/minimatch": "^5",
  87. "@types/node": "^18",
  88. "@types/react": "^18.0.0",
  89. "@types/webpack-env": "^1.13.6",
  90. "babel-preset-taro": "4.1.11",
  91. "eslint": "^8.57.0",
  92. "eslint-config-taro": "4.1.11",
  93. "eslint-plugin-react": "^7.34.1",
  94. "eslint-plugin-react-hooks": "^4.4.0",
  95. "husky": "^9.1.7",
  96. "less": "^4.2.0",
  97. "lint-staged": "^16.1.2",
  98. "postcss": "^8.5.6",
  99. "prettier": "^3.8.2",
  100. "react-refresh": "^0.14.0",
  101. "stylelint": "^16.4.0",
  102. "stylelint-config-standard": "^38.0.0",
  103. "tsconfig-paths-webpack-plugin": "^4.1.0",
  104. "typescript": "^5.4.5",
  105. "webpack": "5.91.0"
  106. }
  107. }