2
0

package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. "cors": "^2.8.5",
  9. "cross-env": "^7.0.3",
  10. "express": "^4.17.1",
  11. "glob": "^7.2.0",
  12. "helmet": "^4.6.0",
  13. "node-cron": "^3.0.0",
  14. "rimraf": "^3.0.2",
  15. "socket.io": "^4.3.1"
  16. },
  17. "jest": {
  18. "testEnvironment": "node",
  19. "coveragePathIgnorePatterns": [
  20. "/node_modules/"
  21. ]
  22. },
  23. "devDependencies": {
  24. "@types/cors": "^2.8.12",
  25. "@types/express": "^4.17.13",
  26. "@types/glob": "^7.2.0",
  27. "@types/node": "^16.11.6",
  28. "@types/node-cron": "^3.0.0",
  29. "@types/ws": "^8.2.0",
  30. "jest": "^27.3.1",
  31. "supertest": "^6.1.6",
  32. "ts-node": "^10.4.0",
  33. "tslint": "^6.1.3",
  34. "typescript": "^4.4.4"
  35. },
  36. "scripts": {
  37. "prebuild": "tslint -c tslint.json -p tsconfig.json --fix",
  38. "build": "yarn clean && tsc",
  39. "prestart": "yarn build",
  40. "start": "node .",
  41. "start:plugin": "yarn build && cross-env PLUGIN_DEV=1 node dist/milvus-insight/express/src/app.js",
  42. "start:prod": "node dist/app.js",
  43. "test": "cross-env NODE_ENV=test jest --testTimeout=10000 --passWithNoTests",
  44. "test:cov": "cross-env NODE_ENV=test jest --testTimeout=10000 --passWithNoTests --coverage",
  45. "clean": "rimraf dist"
  46. }
  47. }