package.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. {
  2. "name": "shougang-wms-mini",
  3. "version": "1.0.0",
  4. "private": true,
  5. "description": "首钢收发货小程序",
  6. "templateInfo": {
  7. "name": "react-NutUI",
  8. "typescript": false,
  9. "css": "none"
  10. },
  11. "scripts": {
  12. "build": "taro build --type weapp",
  13. "dev": "taro build --type weapp --watch",
  14. "lint:style": "stylelint src *.*.css",
  15. "lint:js": "eslint . --ext .js,.jsx,.ts,.tsx",
  16. "lint:style-fix": "pnpm run lint:style --fix",
  17. "lint:js-fix": "pnpm run lint:js --fix",
  18. "prettier": "prettier -c --write **/*",
  19. "prepare": "husky install",
  20. "postinstall": "husky install & weapp-tw patch",
  21. "pre-commit": "lint-staged",
  22. "commit": "cz",
  23. "test": "jest"
  24. },
  25. "config": {
  26. "commitizen": {
  27. "path": "./node_modules/cz-conventional-changelog",
  28. "types": {
  29. "feat": {
  30. "description": "A new feature",
  31. "title": "Features"
  32. },
  33. "fix": {
  34. "description": "A bug fix",
  35. "title": "Bug Fixes"
  36. },
  37. "update": {
  38. "description": "Modify src files",
  39. "title": "Updates"
  40. },
  41. "chore": {
  42. "description": "Other changes that don't modify src or test files",
  43. "title": "Chores"
  44. },
  45. "test": {
  46. "description": "Adding missing tests or correcting existing tests",
  47. "title": "Tests"
  48. },
  49. "style": {
  50. "description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
  51. "title": "Styles"
  52. },
  53. "refactor": {
  54. "description": "A code change that neither fixes a bug nor adds a feature",
  55. "title": "Code Refactoring"
  56. },
  57. "perf": {
  58. "description": "A code change that improves performance",
  59. "title": "Performance Improvements"
  60. },
  61. "revert": {
  62. "description": "Reverts a previous commit",
  63. "title": "Reverts"
  64. },
  65. "merge": {
  66. "description": "Merge branch",
  67. "title": "Merges"
  68. }
  69. }
  70. }
  71. },
  72. "lint-staged": {
  73. "**/*/*.css": [
  74. "stylelint"
  75. ],
  76. "**/*/*.{js,jsx,ts,tsx}": [
  77. "eslint"
  78. ]
  79. },
  80. "browserslist": [
  81. "last 3 versions",
  82. "Android >= 4.1",
  83. "ios >= 8"
  84. ],
  85. "author": "",
  86. "license": "MIT",
  87. "dependencies": {
  88. "@antmjs/vantui": "^2.5.6",
  89. "@babel/runtime": "^7.21.0",
  90. "@tanstack/react-query": "^4.29.3",
  91. "@tarojs/components": "3.6.5",
  92. "@tarojs/helper": "3.6.5",
  93. "@tarojs/plugin-framework-react": "3.6.5",
  94. "@tarojs/plugin-html": "3.6.5",
  95. "@tarojs/plugin-platform-alipay": "3.6.5",
  96. "@tarojs/plugin-platform-h5": "3.6.5",
  97. "@tarojs/plugin-platform-jd": "3.6.5",
  98. "@tarojs/plugin-platform-qq": "3.6.5",
  99. "@tarojs/plugin-platform-swan": "3.6.5",
  100. "@tarojs/plugin-platform-tt": "3.6.5",
  101. "@tarojs/plugin-platform-weapp": "3.6.5",
  102. "@tarojs/react": "3.6.5",
  103. "@tarojs/runtime": "3.6.5",
  104. "@tarojs/shared": "3.6.5",
  105. "@tarojs/taro": "3.6.5",
  106. "ahooks": "^3.7.6",
  107. "classnames": "^2.3.2",
  108. "dayjs": "^1.11.7",
  109. "klona": "^2.0.6",
  110. "lodash-es": "^4.17.21",
  111. "react": "^18.2.0",
  112. "react-dom": "^18.2.0",
  113. "react-error-boundary": "^4.0.3",
  114. "react-refresh": "^0.11.0",
  115. "tailwindcss": "^3.3.1",
  116. "zustand": "^4.3.7"
  117. },
  118. "devDependencies": {
  119. "@babel/core": "^7.21.4",
  120. "@commitlint/cli": "^17.6.1",
  121. "@commitlint/config-conventional": "^17.6.1",
  122. "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
  123. "@tarojs/cli": "3.6.5",
  124. "@tarojs/webpack5-runner": "3.6.5",
  125. "@types/react": "^18.0.35",
  126. "@types/react-dom": "^18.0.11",
  127. "@types/react-router-dom": "^5.3.3",
  128. "@types/react-syntax-highlighter": "^13.5.2",
  129. "@types/react-test-renderer": "^18.0.0",
  130. "@types/react-transition-group": "^4.4.5",
  131. "@types/webpack-env": "^1.18.0",
  132. "@typescript-eslint/eslint-plugin": "^5.58.0",
  133. "@typescript-eslint/parser": "^5.58.0",
  134. "autoprefixer": "^10.4.14",
  135. "babel-plugin-import": "^1.13.6",
  136. "babel-preset-taro": "3.6.5",
  137. "cz-conventional-changelog": "^3.3.0",
  138. "eslint": "^8.38.0",
  139. "eslint-config-proste": "^6.1.2",
  140. "eslint-plugin-import": "^2.27.5",
  141. "eslint-plugin-import-newlines": "^1.3.1",
  142. "eslint-plugin-jest": "^27.2.1",
  143. "eslint-plugin-react": "^7.32.2",
  144. "eslint-plugin-react-hooks": "^4.6.0",
  145. "husky": "^8.0.3",
  146. "jest": "^29.5.0",
  147. "lint-staged": "^13.2.1",
  148. "postcss": "^8.4.22",
  149. "postcss-loader": "^7.2.4",
  150. "postcss-nesting": "^11.2.2",
  151. "style-loader": "1.3.0",
  152. "stylelint": "^15.5.0",
  153. "stylelint-config-recess-order": "^4.0.0",
  154. "stylelint-config-standard": "^33.0.0",
  155. "weapp-tailwindcss-webpack-plugin": "^2.1.1",
  156. "webpack": "^5.79.0"
  157. }
  158. }