package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "author-glance",
  3. "description": "A Vue Server side render project",
  4. "author": "Sa <303914098@qq.com>",
  5. "private": true,
  6. "scripts": {
  7. "dev": "cross-env DEBUG_API=true node server",
  8. "start": "cross-env NODE_ENV=production node server",
  9. "build": "rimraf dist && npm run build:client && npm run build:server",
  10. "build:client": "cross-env NODE_ENV=production webpack --config build/webpack.client.config.js --progress --hide-modules",
  11. "build:server": "cross-env NODE_ENV=production webpack --config build/webpack.server.config.js --progress --hide-modules"
  12. },
  13. "engines": {
  14. "node": ">=7.0",
  15. "npm": ">=4.0"
  16. },
  17. "dependencies": {
  18. "compression": "^1.7.1",
  19. "cross-env": "^5.1.1",
  20. "es6-promise": "^4.1.1",
  21. "express": "^4.16.2",
  22. "extract-text-webpack-plugin": "^3.0.2",
  23. "lru-cache": "^4.1.1",
  24. "route-cache": "0.4.3",
  25. "serve-favicon": "^2.4.5",
  26. "vue": "^2.5.8",
  27. "vue-router": "^3.0.1",
  28. "vue-server-renderer": "^2.5.8",
  29. "vuex": "^3.0.1",
  30. "vuex-router-sync": "^5.0.0"
  31. },
  32. "devDependencies": {
  33. "autoprefixer": "^7.1.6",
  34. "axios": "^0.17.1",
  35. "babel-core": "^6.26.0",
  36. "babel-loader": "^7.1.2",
  37. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  38. "babel-preset-env": "^1.6.1",
  39. "chart.js": "^2.7.1",
  40. "chokidar": "^1.7.0",
  41. "css-loader": "^0.28.7",
  42. "element-ui": "^1.4.10",
  43. "file-loader": "^1.1.5",
  44. "friendly-errors-webpack-plugin": "^1.6.1",
  45. "node-sass": "^4.7.2",
  46. "request": "^2.83.0",
  47. "request-promise": "^4.2.2",
  48. "rimraf": "^2.6.2",
  49. "sass-loader": "^6.0.6",
  50. "stylus": "^0.54.5",
  51. "stylus-loader": "^3.0.1",
  52. "sw-precache-webpack-plugin": "^0.11.4",
  53. "url-loader": "^0.6.2",
  54. "vue-chartjs": "^2.8.7",
  55. "vue-loader": "^13.5.0",
  56. "vue-style-loader": "^3.0.3",
  57. "vue-template-compiler": "^2.5.8",
  58. "webpack": "^3.8.1",
  59. "webpack-dev-middleware": "^1.12.0",
  60. "webpack-hot-middleware": "^2.20.0",
  61. "webpack-merge": "^4.1.1",
  62. "webpack-node-externals": "^1.6.0"
  63. }
  64. }