package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "name": "@flowgram.ai/form-materials",
  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/types/index.d.ts",
  10. "import": "./dist/esm/index.mjs",
  11. "require": "./dist/cjs/index.js"
  12. },
  13. "./components/*": {
  14. "types": "./dist/types/components/*/index.d.ts",
  15. "import": "./dist/esm/components/*/index.mjs",
  16. "require": "./dist/cjs/components/*/index.js"
  17. },
  18. "./effects/*": {
  19. "types": "./dist/types/effects/*/index.d.ts",
  20. "import": "./dist/esm/effects/*/index.mjs",
  21. "require": "./dist/cjs/effects/*/index.js"
  22. },
  23. "./hooks/*": {
  24. "types": "./dist/types/hooks/*/index.d.ts",
  25. "import": "./dist/esm/hooks/*/index.mjs",
  26. "require": "./dist/cjs/hooks/*/index.js"
  27. },
  28. "./shared/*": {
  29. "types": "./dist/types/shared/*/index.d.ts",
  30. "import": "./dist/esm/shared/*/index.mjs",
  31. "require": "./dist/cjs/shared/*/index.js"
  32. },
  33. "./form-plugins/*": {
  34. "types": "./dist/types/form-plugins/*/index.d.ts",
  35. "import": "./dist/esm/form-plugins/*/index.mjs",
  36. "require": "./dist/cjs/form-plugins/*/index.js"
  37. },
  38. "./plugins/*": {
  39. "types": "./dist/types/plugins/*/index.d.ts",
  40. "import": "./dist/esm/plugins/*/index.mjs",
  41. "require": "./dist/cjs/plugins/*/index.js"
  42. },
  43. "./validate/*": {
  44. "types": "./dist/types/validate/*/index.d.ts",
  45. "import": "./dist/esm/validate/*/index.mjs",
  46. "require": "./dist/cjs/validate/*/index.js"
  47. }
  48. },
  49. "main": "./dist/cjs/index.js",
  50. "module": "./dist/esm/index.mjs",
  51. "types": "./dist/types/index.d.ts",
  52. "sideEffects": false,
  53. "bin": {
  54. "flowgram-form-materials": "./bin/run.sh"
  55. },
  56. "files": [
  57. "dist",
  58. "bin",
  59. "src"
  60. ],
  61. "scripts": {
  62. "build": "cross-env NODE_ENV=production rslib build",
  63. "build:fast": "cross-env NODE_ENV=development rslib build",
  64. "build:watch": "npm run build:fast",
  65. "name-export": "node scripts/name-export.js",
  66. "clean": "rimraf dist",
  67. "test": "exit 0",
  68. "test:cov": "exit 0",
  69. "ts-check": "tsc --noEmit",
  70. "watch": "npm run build:fast -- --dts-resolve --watch --ignore-watch dist",
  71. "run-bin": "node bin/index.js"
  72. },
  73. "dependencies": {
  74. "@douyinfe/semi-icons": "^2.80.0",
  75. "@douyinfe/semi-ui": "^2.80.0",
  76. "@flowgram.ai/editor": "workspace:*",
  77. "@flowgram.ai/json-schema": "workspace:*",
  78. "@flowgram.ai/coze-editor": "workspace:*",
  79. "lodash-es": "^4.17.21",
  80. "nanoid": "^5.0.9",
  81. "immer": "~10.1.1",
  82. "@codemirror/view": "~6.38.0",
  83. "@codemirror/state": "~6.5.2",
  84. "zod": "^3.24.4"
  85. },
  86. "devDependencies": {
  87. "@flowgram.ai/eslint-config": "workspace:*",
  88. "@flowgram.ai/ts-config": "workspace:*",
  89. "@types/lodash-es": "^4.17.12",
  90. "@types/node": "^18",
  91. "@types/react": "^18",
  92. "@types/react-dom": "^18",
  93. "@types/inquirer": "^9.0.9",
  94. "eslint": "^8.54.0",
  95. "react": "^18",
  96. "react-dom": "^18",
  97. "typescript": "^5.8.3",
  98. "vitest": "^3.2.4",
  99. "@rslib/core": "~0.12.4",
  100. "cross-env": "~7.0.3",
  101. "@rsbuild/plugin-react": "^1.1.1",
  102. "date-fns": "~4.1.0"
  103. },
  104. "peerDependencies": {
  105. "react": ">=16.8",
  106. "react-dom": ">=16.8"
  107. },
  108. "publishConfig": {
  109. "access": "public",
  110. "registry": "https://registry.npmjs.org/"
  111. }
  112. }