package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. "@fastify/websocket": "^10.0.1",
  36. "@trpc/server": "^10.27.1",
  37. "trpc-openapi": "^1.2.0",
  38. "fastify": "^4.17.0",
  39. "zod": "^3.24.4"
  40. },
  41. "devDependencies": {
  42. "@flowgram.ai/ts-config": "workspace:*",
  43. "@flowgram.ai/eslint-config": "workspace:*",
  44. "@types/cors": "^2.8.13",
  45. "dotenv": "~16.5.0",
  46. "@types/node": "^18",
  47. "eslint": "^9.0.0",
  48. "typescript": "^5.8.3",
  49. "tsup": "^8.0.1",
  50. "tsx": "~4.19.4",
  51. "eslint-plugin-json": "^4.0.1",
  52. "@typescript-eslint/eslint-plugin": "^8.0.0",
  53. "@typescript-eslint/parser": "^8.0.0",
  54. "@vitest/coverage-v8": "^3.2.4",
  55. "vitest": "^3.2.4"
  56. },
  57. "publishConfig": {
  58. "access": "public",
  59. "registry": "https://registry.npmjs.org/"
  60. }
  61. }