package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. "moment": "^2.22.2",
  81. "parchment": "^1.1.4",
  82. "promise": "^7.1.1",
  83. "quill": "^1.3.7",
  84. "quill-delta": "^4.2.1",
  85. "react": "^16.6.3",
  86. "react-addons-css-transition-group": "^15.6.2",
  87. "react-contextmenu": "^2.10",
  88. "react-copy-to-clipboard": "^5.0.1",
  89. "react-cropper": "^1.3.0",
  90. "react-dom": "^16.6.3",
  91. "react-fullscreen-crossbrowser": "^1.0.9",
  92. "react-quill": "^1.3.3",
  93. "react-redux": "^4.4.5",
  94. "react-router-dom": "^4.3.1",
  95. "redbox-react": "^1.6.0",
  96. "redux": "^3.6.0",
  97. "redux-thunk": "^2.0.0",
  98. "sortablejs": "^1.10.0-rc2",
  99. "superagent": "^3.4.1",
  100. "url": "^0.11.0",
  101. "video.js": "^7.6.5"
  102. },
  103. "devDependencies": {
  104. "@hot-loader/react-dom": "^16.8.4",
  105. "babel-core": "^6.17.0",
  106. "babel-eslint": "^10.0.1",
  107. "babel-loader": "^6.2.5",
  108. "babel-plugin-import": "^1.11.0",
  109. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  110. "babel-plugin-transform-runtime": "^6.15.0",
  111. "babel-preset-es2015": "^6.24.1",
  112. "babel-preset-react": "^6.24.1",
  113. "babel-preset-stage-0": "^6.24.1",
  114. "babel-runtime": "^6.26.0",
  115. "better-npm-run": "0.0.11",
  116. "clean-webpack-plugin": "^0.1.17",
  117. "connect-history-api-fallback": "^1.3.0",
  118. "css-loader": "^0.25.0",
  119. "cssnano": "^3.7.4",
  120. "debug": "^2.2.0",
  121. "eslint": "^5.15.1",
  122. "eslint-config-airbnb-base": "^13.1.0",
  123. "eslint-config-standard-react": "^4.0.0",
  124. "eslint-import-resolver-alias": "^1.1.2",
  125. "eslint-loader": "^1.9.0",
  126. "eslint-plugin-html": "^3.0.0",
  127. "eslint-plugin-import": "^2.14.0",
  128. "eslint-plugin-react": "^6.0.0",
  129. "express": "^4.14.0",
  130. "extract-text-webpack-plugin": "^2.1.2",
  131. "file-loader": "^0.9.0",
  132. "fs-extra": "^0.30.0",
  133. "html-webpack-plugin": "^2.22.0",
  134. "http-proxy-middleware": "^0.19.1",
  135. "imports-loader": "^0.6.5",
  136. "json-loader": "^0.5.4",
  137. "less": "^2.7.2",
  138. "less-loader": "^2.2.3",
  139. "postcss-loader": "^0.13.0",
  140. "postcss-pxtorem": "^4.0.0",
  141. "react-hot-loader": "^4.8.0",
  142. "style-loader": "^0.13.1",
  143. "svg-sprite-loader": "^0.3.0",
  144. "url-loader": "^0.5.6",
  145. "webpack": "^3.8.1",
  146. "webpack-dev-middleware": "^1.12.1",
  147. "webpack-dev-server": "^2.11.5",
  148. "webpack-hot-middleware": "^2.20.0",
  149. "yaml-loader": "^0.5.0"
  150. }
  151. }