package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "@flowgram.ai/runtime-js",
  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/esm/index.js",
  11. "require": "./dist/index.js"
  12. },
  13. "main": "./dist/index.js",
  14. "module": "./dist/esm/index.js",
  15. "types": "./dist/index.d.ts",
  16. "files": [
  17. "dist"
  18. ],
  19. "scripts": {
  20. "dev": "npm run watch",
  21. "build": "npm run build:fast -- --dts-resolve",
  22. "build:fast": "tsup src/index.ts --format cjs,esm --sourcemap --legacy-output",
  23. "build:watch": "npm run build:fast -- --dts-resolve",
  24. "clean": "rimraf dist",
  25. "test": "vitest run",
  26. "test:cov": "vitest run --coverage",
  27. "ts-check": "tsc --noEmit",
  28. "watch": "npm run build:fast -- --dts-resolve --watch --ignore-watch dist"
  29. },
  30. "dependencies": {
  31. "@langchain/openai": "0.5.18",
  32. "@langchain/core": "^0.3.58",
  33. "lodash-es": "^4.17.21",
  34. "uuid": "^9.0.0",
  35. "zod": "^3.24.4"
  36. },
  37. "devDependencies": {
  38. "@flowgram.ai/runtime-interface": "workspace:*",
  39. "@flowgram.ai/eslint-config": "workspace:*",
  40. "@flowgram.ai/ts-config": "workspace:*",
  41. "@types/lodash-es": "^4.17.12",
  42. "@types/uuid": "^9.0.1",
  43. "@vitest/coverage-v8": "^0.32.0",
  44. "eslint": "^8.54.0",
  45. "dotenv": "~16.5.0",
  46. "tsup": "^8.0.1",
  47. "typescript": "^5.8.3",
  48. "vitest": "^0.34.6"
  49. },
  50. "publishConfig": {
  51. "access": "public",
  52. "registry": "https://registry.npmjs.org/"
  53. }
  54. }