package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. "lint": "eslint ./src --cache",
  30. "lint:fix": "eslint ./src --fix"
  31. },
  32. "dependencies": {
  33. "@langchain/openai": "0.5.18",
  34. "@langchain/core": "^0.3.58",
  35. "lodash-es": "^4.17.21",
  36. "uuid": "^9.0.0",
  37. "zod": "^3.24.4"
  38. },
  39. "devDependencies": {
  40. "@flowgram.ai/runtime-interface": "workspace:*",
  41. "@flowgram.ai/eslint-config": "workspace:*",
  42. "@flowgram.ai/ts-config": "workspace:*",
  43. "@types/lodash-es": "^4.17.12",
  44. "@types/uuid": "^9.0.1",
  45. "@vitest/coverage-v8": "^3.2.4",
  46. "eslint": "^9.0.0",
  47. "dotenv": "~16.5.0",
  48. "tsup": "^8.0.1",
  49. "typescript": "^5.8.3",
  50. "vitest": "^3.2.4"
  51. },
  52. "publishConfig": {
  53. "access": "public",
  54. "registry": "https://registry.npmjs.org/"
  55. }
  56. }