package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "my-midway-project",
  3. "version": "1.0.0",
  4. "description": "",
  5. "private": true,
  6. "dependencies": {
  7. "@midwayjs/bootstrap": "^3.12.0",
  8. "@midwayjs/core": "^3.12.0",
  9. "@midwayjs/info": "^3.12.0",
  10. "@midwayjs/koa": "^3.12.0",
  11. "@midwayjs/logger": "^3.1.0",
  12. "@midwayjs/validate": "^3.12.0",
  13. "amqp-connection-manager": "^4.1.14",
  14. "amqplib": "^0.10.4",
  15. "lodash": "^4.17.21"
  16. },
  17. "devDependencies": {
  18. "@midwayjs/mock": "^3.12.0",
  19. "@types/amqplib": "^0.10.5",
  20. "@types/jest": "^29.2.0",
  21. "@types/lodash": "^4.17.7",
  22. "@types/node": "14",
  23. "cross-env": "^6.0.0",
  24. "jest": "^29.2.2",
  25. "mwts": "^1.3.0",
  26. "mwtsc": "^1.4.0",
  27. "ts-jest": "^29.0.3",
  28. "typescript": "~4.8.0"
  29. },
  30. "engines": {
  31. "node": ">=12.0.0"
  32. },
  33. "scripts": {
  34. "start": "NODE_ENV=production node ./bootstrap.js",
  35. "dev": "cross-env NODE_ENV=local mwtsc --watch --run @midwayjs/mock/app.js",
  36. "self": "cross-env NODE_ENV=self mwtsc --watch --run @midwayjs/mock/app.js",
  37. "test": "cross-env NODE_ENV=unittest jest",
  38. "cov": "jest --coverage",
  39. "lint": "mwts check",
  40. "lint:fix": "mwts fix",
  41. "ci": "npm run cov",
  42. "build": "mwtsc --cleanOutDir"
  43. },
  44. "repository": {
  45. "type": "git",
  46. "url": ""
  47. },
  48. "author": "anonymous",
  49. "license": "MIT"
  50. }