package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. "cors": "^2.8.5",
  10. "cross-env": "^7.0.3",
  11. "express": "^4.17.1",
  12. "glob": "^7.2.0",
  13. "helmet": "^4.6.0",
  14. "morgan": "^1.10.0",
  15. "node-cron": "^3.0.0",
  16. "rimraf": "^3.0.2",
  17. "socket.io": "^4.3.1"
  18. },
  19. "devDependencies": {
  20. "@types/chalk": "^2.2.0",
  21. "@types/morgan": "^1.9.3",
  22. "@types/cors": "^2.8.12",
  23. "@types/express": "^4.17.13",
  24. "@types/glob": "^7.2.0",
  25. "@types/node": "^16.11.6",
  26. "@types/node-cron": "^3.0.0",
  27. "@types/ws": "^8.2.0",
  28. "nodemon": "^2.0.14",
  29. "ts-node": "^10.4.0",
  30. "tslint": "^6.1.3",
  31. "typescript": "^4.4.4"
  32. },
  33. "scripts": {
  34. "prebuild": "tslint -c tslint.json -p tsconfig.json --fix",
  35. "build": "yarn clean && tsc",
  36. "prestart": "yarn build",
  37. "start": "nodemon ./src/app",
  38. "start:plugin": "yarn build && cross-env PLUGIN_DEV=1 node dist/milvus-insight/express/src/app.js",
  39. "start:prod": "node dist/app.js",
  40. "test": "echo \"Error: no test specified\" && exit 1",
  41. "clean": "rimraf dist"
  42. },
  43. "nodemonConfig": {
  44. "ignore": [
  45. "**/*.test.ts",
  46. "**/*.spec.ts",
  47. "build",
  48. ".git",
  49. "node_modules"
  50. ],
  51. "watch": [
  52. "src"
  53. ],
  54. "ext": "ts"
  55. }
  56. }