package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "@flowgram.ai/playground-react",
  3. "version": "0.1.8",
  4. "homepage": "https://flowgram.ai/",
  5. "repository": "https://github.com/bytedance/flowgram.ai",
  6. "license": "MIT",
  7. "exports": {
  8. ".": {
  9. "types": "./dist/index.d.ts",
  10. "require": "./dist/index.js",
  11. "import": "./dist/esm/index.js"
  12. },
  13. "./index.css": {
  14. "import": "./index.css",
  15. "require": "./index.css"
  16. }
  17. },
  18. "main": "./dist/index.js",
  19. "module": "./dist/esm/index.js",
  20. "types": "./dist/index.d.ts",
  21. "files": [
  22. "dist",
  23. "index.css"
  24. ],
  25. "scripts": {
  26. "build": "npm run build:fast -- --dts-resolve",
  27. "build:fast": "tsup src/index.ts --format cjs,esm --sourcemap --legacy-output",
  28. "build:watch": "npm run build:fast -- --dts-resolve",
  29. "clean": "rimraf dist",
  30. "test": "exit 0",
  31. "test:cov": "exit 0",
  32. "ts-check": "tsc --noEmit",
  33. "watch": "npm run build:fast -- --dts-resolve --watch --ignore-watch dist"
  34. },
  35. "dependencies": {
  36. "@flowgram.ai/background-plugin": "workspace:*",
  37. "@flowgram.ai/core": "workspace:*",
  38. "@flowgram.ai/shortcuts-plugin": "workspace:*",
  39. "@flowgram.ai/utils": "workspace:*",
  40. "inversify": "^6.0.1",
  41. "reflect-metadata": "~0.2.2"
  42. },
  43. "devDependencies": {
  44. "@flowgram.ai/eslint-config": "workspace:*",
  45. "@flowgram.ai/ts-config": "workspace:*",
  46. "@types/bezier-js": "4.1.3",
  47. "@types/lodash-es": "^4.17.12",
  48. "@types/react": "^18",
  49. "@types/react-dom": "^18",
  50. "@vitest/coverage-v8": "^3.2.4",
  51. "eslint": "^9.0.0",
  52. "react": "^18",
  53. "react-dom": "^18",
  54. "tsup": "^8.0.1",
  55. "typescript": "^5.8.3",
  56. "vitest": "^3.2.4"
  57. },
  58. "peerDependencies": {
  59. "react": ">=16.8",
  60. "react-dom": ">=16.8"
  61. },
  62. "publishConfig": {
  63. "access": "public",
  64. "registry": "https://registry.npmjs.org/"
  65. }
  66. }