package.json 3.9 KB

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