package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "@flowgram.ai/runtime-nodejs",
  3. "version": "0.1.8",
  4. "homepage": "https://flowgram.ai/",
  5. "repository": "https://github.com/bytedance/flowgram.ai",
  6. "license": "MIT",
  7. "type": "module",
  8. "exports": {
  9. "types": "./dist/index.d.ts",
  10. "import": "./dist/index.js"
  11. },
  12. "module": "./dist/index.js",
  13. "types": "./dist/index.d.ts",
  14. "files": [
  15. "dist"
  16. ],
  17. "scripts": {
  18. "dev": "tsx watch src",
  19. "build": "npm run build:fast -- --dts-resolve",
  20. "build:fast": "tsup src/index.ts --format esm --sourcemap --out-dir dist",
  21. "build:watch": "npm run build:fast -- --dts-resolve",
  22. "lint": "eslint --cache src",
  23. "lint-fix": "eslint --fix src",
  24. "type-check": "tsc",
  25. "start": "node dist/index.js",
  26. "test": "exit 0",
  27. "test:cov": "exit 0"
  28. },
  29. "dependencies": {
  30. "@flowgram.ai/runtime-js": "workspace:*",
  31. "@flowgram.ai/runtime-interface": "workspace:*",
  32. "@fastify/cors": "^8.2.1",
  33. "@fastify/swagger": "^8.5.1",
  34. "@fastify/swagger-ui": "4.1.0",
  35. "@langchain/openai": "0.5.18",
  36. "@langchain/core": "^0.3.58",
  37. "@fastify/websocket": "^10.0.1",
  38. "@trpc/server": "^10.27.1",
  39. "trpc-openapi": "^1.2.0",
  40. "fastify": "^4.17.0",
  41. "tslib": "^2.8.1",
  42. "lodash-es": "^4.17.21",
  43. "ws": "^8.0.0",
  44. "zod": "^3.24.4"
  45. },
  46. "devDependencies": {
  47. "@flowgram.ai/ts-config": "workspace:*",
  48. "@flowgram.ai/eslint-config": "workspace:*",
  49. "@types/cors": "^2.8.13",
  50. "dotenv": "~16.5.0",
  51. "@types/node": "^18",
  52. "@types/ws": "^8.2.0",
  53. "@types/lodash-es": "^4.17.12",
  54. "eslint": "^8.54.0",
  55. "npm-run-all": "^4.1.5",
  56. "@babel/eslint-parser": "~7.19.1",
  57. "typescript": "^5.8.3",
  58. "tsup": "^8.0.1",
  59. "tsx": "~4.19.4",
  60. "eslint-plugin-json": "^4.0.1",
  61. "@typescript-eslint/eslint-plugin": "^6.10.0",
  62. "@typescript-eslint/parser": "^6.10.0",
  63. "@eslint/eslintrc": "^3",
  64. "@vitest/coverage-v8": "^3.2.4",
  65. "vitest": "^3.2.4",
  66. "wait-port": "^1.0.1"
  67. },
  68. "publishConfig": {
  69. "access": "public",
  70. "registry": "https://registry.npmjs.org/"
  71. }
  72. }