package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. "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. "bin": {
  16. "flowgram-form-materials": "./bin/run.sh"
  17. },
  18. "files": [
  19. "dist",
  20. "bin",
  21. "src"
  22. ],
  23. "scripts": {
  24. "build": "npm run build:fast -- --dts-resolve",
  25. "build:fast": "tsup src/index.ts --format cjs,esm --sourcemap --legacy-output",
  26. "build:watch": "npm run build:fast -- --dts-resolve",
  27. "clean": "rimraf dist",
  28. "test": "exit 0",
  29. "test:cov": "exit 0",
  30. "ts-check": "tsc --noEmit",
  31. "watch": "npm run build:fast -- --dts-resolve --watch --ignore-watch dist",
  32. "run-bin": "node bin/index.js"
  33. },
  34. "dependencies": {
  35. "@douyinfe/semi-icons": "^2.80.0",
  36. "@douyinfe/semi-illustrations": "^2.80.0",
  37. "@douyinfe/semi-ui": "^2.80.0",
  38. "@flowgram.ai/editor": "workspace:*",
  39. "@flowgram.ai/json-schema": "workspace:*",
  40. "lodash-es": "^4.17.21",
  41. "nanoid": "^4.0.2",
  42. "immer": "~10.1.1",
  43. "@coze-editor/editor": "0.1.0-alpha.5a549c",
  44. "@codemirror/view": "~6.38.0",
  45. "@codemirror/state": "~6.5.2",
  46. "typescript": "^5.8.3",
  47. "zod": "^3.24.4"
  48. },
  49. "devDependencies": {
  50. "@flowgram.ai/eslint-config": "workspace:*",
  51. "@flowgram.ai/ts-config": "workspace:*",
  52. "@types/lodash-es": "^4.17.12",
  53. "@types/node": "^18",
  54. "@types/react": "^18",
  55. "@types/react-dom": "^18",
  56. "@types/inquirer": "9.0.7",
  57. "@types/styled-components": "^5",
  58. "eslint": "^8.54.0",
  59. "react": "^18",
  60. "react-dom": "^18",
  61. "styled-components": "^5",
  62. "tsup": "^8.0.1",
  63. "typescript": "^5.8.3",
  64. "vitest": "^0.34.6"
  65. },
  66. "peerDependencies": {
  67. "react": ">=16.8",
  68. "react-dom": ">=16.8",
  69. "styled-components": ">=4"
  70. },
  71. "publishConfig": {
  72. "access": "public",
  73. "registry": "https://registry.npmjs.org/"
  74. }
  75. }