package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. {
  2. "name": "Gj-react-frame",
  3. "version": "2.0.0",
  4. "description": "new project",
  5. "main": "index.js",
  6. "engines": {
  7. "node": ">=7.0.0",
  8. "npm": "^3.0.0"
  9. },
  10. "scripts": {
  11. "init": "npm run i && npm run other && npm run ln",
  12. "ln": "cd node_modules && rm -rf @src && ln -s ../src @src",
  13. "i": "npm i --registry=https://registry.npm.taobao.org",
  14. "other": "better-npm-run other",
  15. "compile": "better-npm-run compile",
  16. "start": "better-npm-run start",
  17. "static": "better-npm-run static",
  18. "deploy": "better-npm-run deploy",
  19. "deploy:test": "better-npm-run deploy:test",
  20. "deploy:prod": "better-npm-run deploy:prod"
  21. },
  22. "betterScripts": {
  23. "other": {
  24. "command": "node bin/other",
  25. "env": {
  26. "NODE_ENV": "production",
  27. "DEBUG": "app:*"
  28. }
  29. },
  30. "compile": {
  31. "command": "node bin/compile",
  32. "env": {
  33. "DEBUG": "app:*"
  34. }
  35. },
  36. "deploy": {
  37. "command": "npm run compile",
  38. "env": {
  39. "NODE_ENV": "development",
  40. "DEBUG": "app:*"
  41. }
  42. },
  43. "deploy:test": {
  44. "command": "npm run compile",
  45. "env": {
  46. "NODE_ENV": "test",
  47. "DEBUG": "app:*"
  48. }
  49. },
  50. "deploy:prod": {
  51. "command": "npm run deploy",
  52. "env": {
  53. "NODE_ENV": "production",
  54. "DEBUG": "app:*"
  55. }
  56. },
  57. "start": {
  58. "command": "node bin/start",
  59. "env": {
  60. "NODE_ENV": "development",
  61. "DEBUG": "app:*"
  62. }
  63. },
  64. "static": {
  65. "command": "node bin/static",
  66. "env": {
  67. "NODE_ENV": "development",
  68. "DEBUG": "app:*"
  69. }
  70. }
  71. },
  72. "dependencies": {
  73. "antd": "^3.11.6",
  74. "antd-mobile": "^2.2.7",
  75. "echarts": "^4.2.1",
  76. "echarts-for-react": "^2.0.15-beta.0",
  77. "fastclick": "^1.0.6",
  78. "history": "^4.7.2",
  79. "js-sha1": "^0.6.0",
  80. "katex": "^0.11.1",
  81. "moment": "^2.22.2",
  82. "moment-timezone": "^0.5.28",
  83. "parchment": "^1.1.4",
  84. "promise": "^7.1.1",
  85. "quill": "^1.3.7",
  86. "quill-delta": "^4.2.1",
  87. "react": "^16.6.3",
  88. "react-addons-css-transition-group": "^15.6.2",
  89. "react-contextmenu": "^2.10",
  90. "react-copy-to-clipboard": "^5.0.1",
  91. "react-cropper": "^1.3.0",
  92. "react-dom": "^16.6.3",
  93. "react-fullscreen-crossbrowser": "^1.0.9",
  94. "react-quill": "^1.3.3",
  95. "react-redux": "^4.4.5",
  96. "react-router-dom": "^4.3.1",
  97. "redbox-react": "^1.6.0",
  98. "redux": "^3.6.0",
  99. "redux-thunk": "^2.0.0",
  100. "sortablejs": "^1.10.0-rc2",
  101. "superagent": "^3.4.1",
  102. "url": "^0.11.0",
  103. "video.js": "^7.6.5"
  104. },
  105. "devDependencies": {
  106. "@hot-loader/react-dom": "^16.8.4",
  107. "babel-core": "^6.17.0",
  108. "babel-eslint": "^10.0.1",
  109. "babel-loader": "^6.2.5",
  110. "babel-plugin-import": "^1.11.0",
  111. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  112. "babel-plugin-transform-runtime": "^6.15.0",
  113. "babel-preset-es2015": "^6.24.1",
  114. "babel-preset-react": "^6.24.1",
  115. "babel-preset-stage-0": "^6.24.1",
  116. "babel-runtime": "^6.26.0",
  117. "better-npm-run": "0.0.11",
  118. "clean-webpack-plugin": "^0.1.17",
  119. "connect-history-api-fallback": "^1.3.0",
  120. "css-loader": "^0.25.0",
  121. "cssnano": "^3.7.4",
  122. "debug": "^2.2.0",
  123. "eslint": "^5.15.1",
  124. "eslint-config-airbnb-base": "^13.1.0",
  125. "eslint-config-standard-react": "^4.0.0",
  126. "eslint-import-resolver-alias": "^1.1.2",
  127. "eslint-loader": "^1.9.0",
  128. "eslint-plugin-html": "^3.0.0",
  129. "eslint-plugin-import": "^2.14.0",
  130. "eslint-plugin-react": "^6.0.0",
  131. "express": "^4.14.0",
  132. "extract-text-webpack-plugin": "^2.1.2",
  133. "file-loader": "^0.9.0",
  134. "fs-extra": "^0.30.0",
  135. "html-webpack-plugin": "^2.22.0",
  136. "http-proxy-middleware": "^0.19.1",
  137. "imports-loader": "^0.6.5",
  138. "json-loader": "^0.5.4",
  139. "less": "^2.7.2",
  140. "less-loader": "^2.2.3",
  141. "postcss-loader": "^0.13.0",
  142. "postcss-pxtorem": "^4.0.0",
  143. "react-hot-loader": "^4.8.0",
  144. "style-loader": "^0.13.1",
  145. "svg-sprite-loader": "^0.3.0",
  146. "url-loader": "^0.5.6",
  147. "webpack": "^3.8.1",
  148. "webpack-dev-middleware": "^1.12.1",
  149. "webpack-dev-server": "^2.11.5",
  150. "webpack-hot-middleware": "^2.20.0",
  151. "yaml-loader": "^0.5.0"
  152. }
  153. }