package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@flowgram.ai/export-plugin",
  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. "build": "npm run build:fast -- --dts-resolve",
  20. "build:fast": "tsup src/index.ts --format cjs,esm --sourcemap --legacy-output",
  21. "build:watch": "npm run build:fast -- --dts-resolve",
  22. "clean": "rimraf dist",
  23. "test": "exit 0",
  24. "test:cov": "exit 0",
  25. "ts-check": "tsc --noEmit",
  26. "watch": "npm run build:fast -- --dts-resolve --watch --ignore-watch dist"
  27. },
  28. "dependencies": {
  29. "@flowgram.ai/core": "workspace:*",
  30. "@flowgram.ai/document": "workspace:*",
  31. "@flowgram.ai/utils": "workspace:*",
  32. "inversify": "^6.0.1",
  33. "reflect-metadata": "~0.2.2",
  34. "nanoid": "^5.0.9",
  35. "modern-screenshot": "4.6.7",
  36. "lodash-es": "^4.17.21",
  37. "js-yaml": "^4.1.1"
  38. },
  39. "devDependencies": {
  40. "@flowgram.ai/eslint-config": "workspace:*",
  41. "@flowgram.ai/ts-config": "workspace:*",
  42. "@types/bezier-js": "4.1.3",
  43. "@types/lodash-es": "^4.17.12",
  44. "@types/react": "^18",
  45. "@types/react-dom": "^18",
  46. "@vitest/coverage-v8": "^3.2.4",
  47. "eslint": "^9.0.0",
  48. "react": "^18",
  49. "react-dom": "^18",
  50. "tsup": "^8.0.1",
  51. "typescript": "^5.8.3",
  52. "vitest": "^3.2.4",
  53. "@types/js-yaml": "^4.0.9"
  54. },
  55. "peerDependencies": {
  56. "react": ">=16.8",
  57. "react-dom": ">=16.8"
  58. },
  59. "publishConfig": {
  60. "access": "public",
  61. "registry": "https://registry.npmjs.org/"
  62. }
  63. }