package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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:script --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. },
  24. "config": {
  25. "commitizen": {
  26. "path": "./node_modules/cz-conventional-changelog",
  27. "types": {
  28. "feat": {
  29. "description": "A new feature",
  30. "title": "Features"
  31. },
  32. "fix": {
  33. "description": "A bug fix",
  34. "title": "Bug Fixes"
  35. },
  36. "update": {
  37. "description": "Modify src files",
  38. "title": "Updates"
  39. },
  40. "chore": {
  41. "description": "Other changes that don't modify src or test files",
  42. "title": "Chores"
  43. },
  44. "test": {
  45. "description": "Adding missing tests or correcting existing tests",
  46. "title": "Tests"
  47. },
  48. "style": {
  49. "description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
  50. "title": "Styles"
  51. },
  52. "refactor": {
  53. "description": "A code change that neither fixes a bug nor adds a feature",
  54. "title": "Code Refactoring"
  55. },
  56. "perf": {
  57. "description": "A code change that improves performance",
  58. "title": "Performance Improvements"
  59. },
  60. "revert": {
  61. "description": "Reverts a previous commit",
  62. "title": "Reverts"
  63. },
  64. "merge": {
  65. "description": "Merge branch",
  66. "title": "Merges"
  67. }
  68. }
  69. }
  70. },
  71. "lint-staged": {
  72. "**/*/*.css": [
  73. "stylelint",
  74. "prettier --write"
  75. ],
  76. "**/*/*.{js,jsx,ts,tsx}": [
  77. "eslint",
  78. "prettier --write"
  79. ]
  80. },
  81. "browserslist": [
  82. "last 3 versions",
  83. "Android >= 4.1",
  84. "ios >= 8"
  85. ],
  86. "author": "",
  87. "license": "MIT",
  88. "dependencies": {
  89. "@babel/runtime": "^7.21.0",
  90. "@nutui/nutui-react-taro": "^1.5.0",
  91. "@tanstack/react-query": "^4.29.3",
  92. "@tarojs/components": "3.6.5",
  93. "@tarojs/helper": "3.6.5",
  94. "@tarojs/plugin-framework-react": "3.6.5",
  95. "@tarojs/plugin-html": "3.6.5",
  96. "@tarojs/plugin-platform-alipay": "3.6.5",
  97. "@tarojs/plugin-platform-h5": "3.6.5",
  98. "@tarojs/plugin-platform-jd": "3.6.5",
  99. "@tarojs/plugin-platform-qq": "3.6.5",
  100. "@tarojs/plugin-platform-swan": "3.6.5",
  101. "@tarojs/plugin-platform-tt": "3.6.5",
  102. "@tarojs/plugin-platform-weapp": "3.6.5",
  103. "@tarojs/react": "3.6.5",
  104. "@tarojs/runtime": "3.6.5",
  105. "@tarojs/shared": "3.6.5",
  106. "@tarojs/taro": "3.6.5",
  107. "ahooks": "^3.7.6",
  108. "classnames": "^2.3.2",
  109. "react": "^18.2.0",
  110. "react-dom": "^18.2.0",
  111. "react-error-boundary": "^4.0.3",
  112. "react-refresh": "^0.11.0",
  113. "tailwindcss": "^3.3.1",
  114. "zustand": "^4.3.7"
  115. },
  116. "devDependencies": {
  117. "@babel/core": "^7.21.4",
  118. "@commitlint/cli": "^17.6.1",
  119. "@commitlint/config-conventional": "^17.6.1",
  120. "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
  121. "@tarojs/cli": "3.6.5",
  122. "@tarojs/webpack5-runner": "3.6.5",
  123. "@types/react": "^18.0.35",
  124. "@types/react-dom": "^18.0.11",
  125. "@types/react-router-dom": "^5.3.3",
  126. "@types/react-syntax-highlighter": "^13.5.2",
  127. "@types/react-test-renderer": "^18.0.0",
  128. "@types/react-transition-group": "^4.4.5",
  129. "@types/webpack-env": "^1.18.0",
  130. "@typescript-eslint/eslint-plugin": "^5.58.0",
  131. "@typescript-eslint/parser": "^5.58.0",
  132. "autoprefixer": "^10.4.14",
  133. "babel-plugin-import": "^1.13.6",
  134. "babel-preset-taro": "3.6.5",
  135. "cz-conventional-changelog": "^3.3.0",
  136. "eslint": "^8.38.0",
  137. "eslint-config-prettier": "^8.8.0",
  138. "eslint-config-proste": "^5.1.0",
  139. "eslint-plugin-import": "^2.27.5",
  140. "eslint-plugin-react": "^7.32.2",
  141. "eslint-plugin-react-hooks": "^4.6.0",
  142. "husky": "^8.0.3",
  143. "lint-staged": "^13.2.1",
  144. "postcss": "^8.4.22",
  145. "postcss-nesting": "^11.2.2",
  146. "prettier": "^2.8.7",
  147. "style-loader": "1.3.0",
  148. "stylelint": "^15.5.0",
  149. "stylelint-config-recess-order": "^4.0.0",
  150. "stylelint-config-standard": "^33.0.0",
  151. "weapp-tailwindcss-webpack-plugin": "^2.1.1",
  152. "webpack": "^5.79.0"
  153. }
  154. }