2
0

package.json 1.7 KB

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