package.json 1.5 KB

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