package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "vue-dataac-server",
  3. "version": "1.0.0",
  4. "description": "Vue-dataAc 后台服务 egg + mongodb",
  5. "private": true,
  6. "bin": "pkg-entry.js",
  7. "egg": {
  8. "declarations": true
  9. },
  10. "dependencies": {
  11. "egg": "^2.15.1",
  12. "egg-cors": "^2.2.3",
  13. "egg-mongoose": "^3.2.0",
  14. "egg-scripts": "^2.11.0",
  15. "mongoose": "^5.9.18",
  16. "node-notifier": "^9.0.1",
  17. "pkg": "^5.8.0"
  18. },
  19. "devDependencies": {
  20. "autod": "^3.0.1",
  21. "autod-egg": "^1.1.0",
  22. "egg-bin": "^4.11.0",
  23. "egg-ci": "^1.11.0",
  24. "egg-mock": "^3.21.0",
  25. "eslint": "^5.13.0",
  26. "eslint-config-egg": "^7.1.0"
  27. },
  28. "engines": {
  29. "node": ">=10.0.0"
  30. },
  31. "scripts": {
  32. "start": "egg-scripts start --port=7007 --daemon --env=prod --title=egg-server-Vue-dataAc-server",
  33. "stop": "egg-scripts stop --title=egg-server-Vue-dataAc-server",
  34. "dev": "egg-bin dev",
  35. "debug": "egg-bin debug",
  36. "test": "npm run lint -- --fix && npm run test-local",
  37. "test-local": "egg-bin test",
  38. "cov": "egg-bin cov",
  39. "lint": "eslint .",
  40. "ci": "npm run lint && npm run cov",
  41. "autod": "autod",
  42. "reload": "npm run stop && npm run start",
  43. "build:win": "pkg . --targets node14-win-x64 --out-path ./dist/win --debug",
  44. "build:linux": "pkg . --targets node14-linux-x64 --out-path ./dist/linux --debug"
  45. },
  46. "ci": {
  47. "version": "10"
  48. },
  49. "repository": {
  50. "type": "git",
  51. "url": ""
  52. },
  53. "author": "adminV",
  54. "license": "MIT",
  55. "pkg": {
  56. "scripts": [
  57. "./app/**/*.js",
  58. "./app/*.js",
  59. "./config/*",
  60. "./config/**/*.js",
  61. "./normalJs/**/*.js",
  62. "./app.js",
  63. "./agent.js"
  64. ],
  65. "assets": [
  66. "./node_modules/**/*"
  67. ]
  68. }
  69. }