package.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. {
  2. "name": "wtto-fangcom",
  3. "version": "1.0.1",
  4. "description": "叮叮房服",
  5. "private": true,
  6. "scripts": {
  7. "presite": "cd functions && npm install",
  8. "jest": "node jest.js",
  9. "start": "cross-env APP_TYPE=site umi dev",
  10. "start:no-mock": "cross-env MOCK=none umi dev",
  11. "build": "cross-env UMI_ENV=prod umi build",
  12. "uat": "cross-env UMI_ENV=uat umi build",
  13. "site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy && npm run docker:push",
  14. "analyze": "cross-env ANALYZE=1 umi build",
  15. "lint": "npm run lint:js && npm run lint:style && npm run lint:prettier",
  16. "lint-staged": "lint-staged",
  17. "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
  18. "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --ignore-pattern '**/*.d.ts' --format=pretty ./src && npm run lint:style",
  19. "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
  20. "lint:prettier": "check-prettier lint",
  21. "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
  22. "prettier": "prettier -c --write \"**/*\"",
  23. "tslint": "npm run tslint:fix",
  24. "tslint:fix": "tslint --fix 'src/**/*.ts*'",
  25. "test": "umi test",
  26. "test:component": "umi test ./src/components",
  27. "test:all": "node ./tests/run-tests.js",
  28. "sk": "node skylight.js"
  29. },
  30. "dependencies": {
  31. "@antv/data-set": "^0.11.8",
  32. "@antv/g2plot": "^2.3.15",
  33. "@aspnet/signalr": "^1.1.4",
  34. "@tinymce/tinymce-react": "^3.5.0",
  35. "@types/classnames": "^2.2.11",
  36. "@types/react-scroll": "^1.8.0",
  37. "@uiw/react-baidu-map": "^1.17.1",
  38. "abp-web-resources": "^3.8.4",
  39. "antd": "^3.26.0",
  40. "better-scroll": "^2.0.3",
  41. "bizcharts": "^4.1.9",
  42. "brace": "^0.11.1",
  43. "caniuse-lite": "^1.0.30001238",
  44. "china-location": "^2.1.0",
  45. "classnames": "^2.2.6",
  46. "copy-to-clipboard": "^3.3.1",
  47. "dva": "^2.6.0-beta.16",
  48. "enquire-js": "^0.2.1",
  49. "hash.js": "^1.1.5",
  50. "immutability-helper": "^3.1.1",
  51. "insert-css": "^2.0.0",
  52. "js-export-excel": "^1.1.4",
  53. "lodash": "^4.17.10",
  54. "lodash-decorators": "^6.0.0",
  55. "memoize-one": "^5.0.0",
  56. "moment": "^2.22.2",
  57. "moment-timezone": "^0.5.25",
  58. "normalize.css": "^8.0.0",
  59. "nprogress": "^0.2.0",
  60. "numeral": "^2.0.6",
  61. "nzh": "^1.0.4",
  62. "omit.js": "^1.0.0",
  63. "path-to-regexp": "^3.0.0",
  64. "platform": "^1.3.5",
  65. "prismjs": "^1.14.0",
  66. "prop-types": "^15.6.2",
  67. "push.js": "^1.0.9",
  68. "qs": "^6.6.0",
  69. "rc-animate": "^2.6.0",
  70. "rc-dialog": "^7.6.1",
  71. "rc-dropdown": "^3.0.2",
  72. "rc-menu": "^8.0.3",
  73. "rc-notification": "^4.0.0",
  74. "rc-progress": "^2.5.2",
  75. "rc-select": "^10.2.1",
  76. "rc-tabs": "^10.1.1",
  77. "rc-tooltip": "^4.0.3",
  78. "react": "^16.7.0",
  79. "react-ace": "^5.10.0",
  80. "react-chartjs-2": "^2.9.0",
  81. "react-color": "^2.14.1",
  82. "react-container-query": "^0.11.0",
  83. "react-contextmenu": "^2.10.0",
  84. "react-copy-to-clipboard": "^5.0.1",
  85. "react-dnd": "^11.1.3",
  86. "react-dnd-html5-backend": "^11.1.3",
  87. "react-document-title": "^2.0.3",
  88. "react-dom": "^16.7.0",
  89. "react-fittext": "^1.0.0",
  90. "react-loading": "^2.0.2",
  91. "react-media": "^1.9.2",
  92. "react-radio-buttons": "^1.2.1",
  93. "react-redux": "^7.2.0",
  94. "react-router": "^5.1.2",
  95. "react-router-dom": "^4.3.1",
  96. "react-scroll": "^1.8.1",
  97. "react-switch": "^2.3.2",
  98. "react-viewer": "^2.3.9",
  99. "recharts": "^1.8.5",
  100. "redux": "^4.0.1",
  101. "shortid": "^2.2.15",
  102. "styled-components": "^4.1.3",
  103. "umi": "^2.13.0",
  104. "umi-plugin-antd-icon-config": "^1.0.2",
  105. "umi-plugin-antd-theme": "^1.0.1",
  106. "umi-plugin-pro-block": "^1.3.2",
  107. "umi-plugin-react": "^1.9.5",
  108. "urijs": "^1.19.2",
  109. "uuid": "^3.4.0",
  110. "video-react": "^0.14.1",
  111. "xlsx": "^0.16.9"
  112. },
  113. "devDependencies": {
  114. "@babel/cli": "^7.2.3",
  115. "@babel/preset-env": "^7.3.4",
  116. "@babel/runtime": "^7.2.0",
  117. "@svgr/webpack": "^5.4.0",
  118. "@types/better-scroll": "^1.12.2",
  119. "@types/insert-css": "^2.0.0",
  120. "@types/lodash": "^4.14.155",
  121. "@types/qs": "^6.5.3",
  122. "@types/react": "^16.7.7",
  123. "@types/react-beautiful-dnd": "^13.0.0",
  124. "@types/react-dom": "^16.0.10",
  125. "@types/react-redux": "^7.1.16",
  126. "@types/shortid": "0.0.29",
  127. "@types/uuid": "^7.0.2",
  128. "@umijs/fabric": "^2.0.1",
  129. "antd-pro-merge-less": "^1.0.0",
  130. "babel-eslint": "^10.0.1",
  131. "babel-plugin-import": "^1.11.0",
  132. "babel-plugin-lodash": "^3.3.4",
  133. "babel-plugin-prismjs": "^1.0.2",
  134. "chalk": "^2.4.2",
  135. "check-prettier": "^1.0.1",
  136. "compression-webpack-plugin": "^2.0.0",
  137. "cross-env": "^5.2.0",
  138. "cross-port-killer": "^1.0.1",
  139. "enzyme": "3.8.0",
  140. "gh-pages": "^2.0.1",
  141. "husky": "^1.3.1",
  142. "jest-puppeteer": "^3.9.0",
  143. "less": "^3.13.1",
  144. "lint-staged": "^10.0.0",
  145. "lodash-webpack-plugin": "^0.11.5",
  146. "merge-umi-mock-data": "^1.0.4",
  147. "mini-css-extract-plugin": "^0.5.0",
  148. "mockjs": "^1.0.1-beta3",
  149. "prettier": "^1.19.1",
  150. "slash2": "^2.0.0",
  151. "stylelint": "^12.0.0",
  152. "tslint": "^5.20.1",
  153. "tslint-config-prettier": "^1.17.0",
  154. "tslint-react": "^3.6.0",
  155. "url-loader": "^0.5.7",
  156. "webpack-ant-icon-loader": "^1.0.8",
  157. "webpack-dev-server": "^3.4.1"
  158. },
  159. "optionalDependencies": {
  160. "puppeteer": "^1.11.0"
  161. },
  162. "husky": {
  163. "hooks": {
  164. "pre-commit": ""
  165. }
  166. },
  167. "lint-staged": {
  168. "**/*.less": "stylelint --syntax less",
  169. "**/*.{js,jsx,tsx,ts,less,md,json}": [
  170. "prettier --write",
  171. "git add"
  172. ],
  173. "**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js"
  174. },
  175. "engines": {
  176. "node": ">=8.0.0"
  177. },
  178. "browserslist": [
  179. "> 1%",
  180. "last 2 versions",
  181. "not ie <= 10"
  182. ],
  183. "checkFiles": [
  184. "src/**/*.js*",
  185. "src/**/*.ts*",
  186. "src/**/*.less",
  187. "config/**/*.js*",
  188. "scripts/**/*.js"
  189. ]
  190. }