package.json 1.4 KB

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