package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "name": "ui",
  3. "version": "0.0.1",
  4. "description": "UI components for Logseq.",
  5. "author": "Logseq",
  6. "scripts": {
  7. "watch:ui:examples": "parcel serve ./examples/index.html",
  8. "build:ui:only": "parcel build --target ui",
  9. "build:ui": "rm -rf .parcel-cache && yarn build:ui:only",
  10. "watch:storybook": "storybook dev -p 6006",
  11. "postinstall": "yarn build:ui"
  12. },
  13. "dependencies": {
  14. "@hookform/resolvers": "^3.3.2",
  15. "@radix-ui/colors": "^3.0.0",
  16. "@radix-ui/react-alert-dialog": "^1.1.11",
  17. "@radix-ui/react-avatar": "^1.1.7",
  18. "@radix-ui/react-checkbox": "^1.2.3",
  19. "@radix-ui/react-context-menu": "^2.2.12",
  20. "@radix-ui/react-dialog": "^1.1.11",
  21. "@radix-ui/react-dropdown-menu": "^2.1.12",
  22. "@radix-ui/react-label": "^2.1.4",
  23. "@radix-ui/react-popover": "^1.1.11",
  24. "@radix-ui/react-radio-group": "^1.3.4",
  25. "@radix-ui/react-select": "^2.2.2",
  26. "@radix-ui/react-separator": "^1.1.4",
  27. "@radix-ui/react-slider": "^1.3.2",
  28. "@radix-ui/react-slot": "^1.2.0",
  29. "@radix-ui/react-switch": "^1.2.2",
  30. "@radix-ui/react-tabs": "^1.1.9",
  31. "@radix-ui/react-toast": "^1.2.11",
  32. "@radix-ui/react-toggle": "^1.1.6",
  33. "@radix-ui/react-toggle-group": "^1.1.7",
  34. "@radix-ui/react-tooltip": "^1.2.4",
  35. "class-variance-authority": "^0.7.1",
  36. "clsx": "^2.0.0",
  37. "cmdk": "^0.2.0",
  38. "date-fns": "^2.30.0",
  39. "lucide-react": "^0.468.0",
  40. "react": "^18",
  41. "react-day-picker": "^8.9.1",
  42. "react-dom": "^18",
  43. "react-hook-form": "^7.48.2",
  44. "react-remove-scroll": "^2.5.7",
  45. "tailwind-merge": "^2.0.0",
  46. "tailwindcss-animate": "^1.0.7",
  47. "uniqolor": "1.1.1",
  48. "yup": "^1.3.2",
  49. "zod": "^3.22.4"
  50. },
  51. "devDependencies": {
  52. "@babel/core": "^7.23.2",
  53. "@babel/preset-env": "^7.23.2",
  54. "@babel/preset-react": "^7.22.15",
  55. "@babel/preset-typescript": "^7.23.2",
  56. "@storybook/addon-essentials": "^7.5.3",
  57. "@storybook/addon-interactions": "^7.5.3",
  58. "@storybook/addon-links": "^7.5.3",
  59. "@storybook/addon-onboarding": "^1.0.8",
  60. "@storybook/addon-styling-webpack": "^0.0.5",
  61. "@storybook/addon-toolbars": "^7.5.3",
  62. "@storybook/blocks": "^7.5.3",
  63. "@storybook/react": "^7.5.3",
  64. "@storybook/react-webpack5": "^7.5.3",
  65. "@storybook/testing-library": "^0.2.2",
  66. "@types/babel__core": "^7",
  67. "@types/babel__preset-env": "^7",
  68. "@types/prop-types": "^15",
  69. "@types/react": "17",
  70. "@types/react-dom": "17",
  71. "parcel": "2.8.3",
  72. "postcss": "^8.4.31",
  73. "postcss-loader": "^7.3.3",
  74. "postcss-nesting": "^12.0.1",
  75. "storybook": "^7.5.3",
  76. "string-width": "4.2.0",
  77. "strip-ansi": "^6",
  78. "style-loader": "3.3.1"
  79. },
  80. "alias": {
  81. "react": {
  82. "global": "React"
  83. },
  84. "react-dom": {
  85. "global": "ReactDOM"
  86. },
  87. "react/jsx-dev-runtime": "./node_modules/react/jsx-dev-runtime.js",
  88. "react/jsx-runtime": "./node_modules/react/jsx-runtime.js",
  89. "@/*": "./@/$1"
  90. },
  91. "targets": {
  92. "main": false,
  93. "ui": {
  94. "source": "src/ui.ts",
  95. "outputFormat": "global",
  96. "includeNodeModules": {
  97. "react": false,
  98. "react-dom": false
  99. }
  100. }
  101. },
  102. "resolutions": {
  103. "jackspeak": "^2",
  104. "string-width": "^4",
  105. "strip-ansi": "^6"
  106. },
  107. "license": "MIT"
  108. }