package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "express",
  3. "version": "1.0.0",
  4. "main": "dist/app.js",
  5. "license": "MIT",
  6. "dependencies": {
  7. "@zilliz/milvus2-sdk-node": "^1.0.19",
  8. "chalk": "^4.1.2",
  9. "class-sanitizer": "^1.0.1",
  10. "class-transformer": "^0.4.0",
  11. "class-validator": "^0.13.1",
  12. "cors": "^2.8.5",
  13. "cross-env": "^7.0.3",
  14. "express": "^4.17.1",
  15. "glob": "^7.2.0",
  16. "helmet": "^4.6.0",
  17. "morgan": "^1.10.0",
  18. "node-cron": "^3.0.0",
  19. "rimraf": "^3.0.2",
  20. "socket.io": "^4.3.1",
  21. "swagger-jsdoc": "^6.1.0",
  22. "swagger-ui-express": "^4.1.6"
  23. },
  24. "devDependencies": {
  25. "@types/swagger-jsdoc": "^6.0.1",
  26. "@types/chalk": "^2.2.0",
  27. "@types/cors": "^2.8.12",
  28. "@types/express": "^4.17.13",
  29. "@types/glob": "^7.2.0",
  30. "@types/morgan": "^1.9.3",
  31. "@types/node": "^16.11.6",
  32. "@types/node-cron": "^3.0.0",
  33. "@types/swagger-ui-express": "^4.1.3",
  34. "@types/ws": "^8.2.0",
  35. "nodemon": "^2.0.14",
  36. "ts-node": "^10.4.0",
  37. "tslint": "^6.1.3",
  38. "typescript": "^4.4.4"
  39. },
  40. "scripts": {
  41. "prebuild": "tslint -c tslint.json -p tsconfig.json --fix",
  42. "build": "yarn clean && tsc",
  43. "prestart": "rm -rf dist && yarn build",
  44. "start": "nodemon ./src/app",
  45. "start:plugin": "yarn build && cross-env PLUGIN_DEV=1 node dist/milvus-insight/express/src/app.js",
  46. "start:prod": "node dist/app.js",
  47. "test": "echo \"Error: no test specified\" && exit 1",
  48. "clean": "rimraf dist"
  49. },
  50. "nodemonConfig": {
  51. "ignore": [
  52. "**/*.test.ts",
  53. "**/*.spec.ts",
  54. "build",
  55. ".git",
  56. "node_modules"
  57. ],
  58. "watch": [
  59. "src"
  60. ],
  61. "ext": "ts yml"
  62. }
  63. }