package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "@flowgram.ai/playground-react",
  3. "version": "0.1.0",
  4. "license": "MIT",
  5. "exports": {
  6. ".": {
  7. "types": "./dist/index.d.ts",
  8. "require": "./dist/index.js",
  9. "import": "./dist/esm/index.js"
  10. },
  11. "./index.css": {
  12. "import": "./index.css",
  13. "require": "./index.css"
  14. }
  15. },
  16. "main": "./dist/index.js",
  17. "module": "./dist/esm/index.js",
  18. "types": "./dist/index.d.ts",
  19. "files": [
  20. "dist",
  21. "index.css"
  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. },
  33. "dependencies": {
  34. "@flowgram.ai/background-plugin": "workspace:*",
  35. "@flowgram.ai/core": "workspace:*",
  36. "@flowgram.ai/shortcuts-plugin": "workspace:*",
  37. "@flowgram.ai/utils": "workspace:*",
  38. "inversify": "^6.0.1",
  39. "reflect-metadata": "~0.2.2"
  40. },
  41. "devDependencies": {
  42. "@flowgram.ai/eslint-config": "workspace:*",
  43. "@flowgram.ai/ts-config": "workspace:*",
  44. "@types/bezier-js": "4.1.3",
  45. "@types/lodash": "^4.14.137",
  46. "@types/react": "^18",
  47. "@types/react-dom": "^18",
  48. "@vitest/coverage-v8": "^0.32.0",
  49. "eslint": "^8.54.0",
  50. "react": "^18",
  51. "react-dom": "^18",
  52. "tsup": "^8.0.1",
  53. "typescript": "^5.0.4",
  54. "vitest": "^0.34.6"
  55. },
  56. "peerDependencies": {
  57. "react": ">=17",
  58. "react-dom": ">=17"
  59. },
  60. "publishConfig": {
  61. "access": "public",
  62. "registry": "https://registry.npmjs.org/"
  63. }
  64. }