package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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 --no-source-maps",
  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.0.5",
  17. "@radix-ui/react-checkbox": "^1.0.4",
  18. "@radix-ui/react-context-menu": "^2.1.5",
  19. "@radix-ui/react-dialog": "^1.0.5",
  20. "@radix-ui/react-dropdown-menu": "^2.0.6",
  21. "@radix-ui/react-label": "^2.0.2",
  22. "@radix-ui/react-popover": "^1.0.7",
  23. "@radix-ui/react-radio-group": "^1.1.3",
  24. "@radix-ui/react-select": "^2.0.0",
  25. "@radix-ui/react-separator": "^1.0.3",
  26. "@radix-ui/react-slider": "^1.1.2",
  27. "@radix-ui/react-slot": "^1.0.2",
  28. "@radix-ui/react-switch": "^1.0.3",
  29. "@radix-ui/react-toast": "^1.1.5",
  30. "@radix-ui/react-toggle": "^1.0.3",
  31. "@radix-ui/react-toggle-group": "^1.0.4",
  32. "@radix-ui/react-tooltip": "^1.0.7",
  33. "class-variance-authority": "^0.7.0",
  34. "clsx": "^2.0.0",
  35. "cmdk": "^0.2.0",
  36. "date-fns": "^2.30.0",
  37. "lucide-react": "^0.292.0",
  38. "react": "^18",
  39. "react-day-picker": "^8.9.1",
  40. "react-dom": "^18",
  41. "react-hook-form": "^7.48.2",
  42. "tailwind-merge": "^2.0.0",
  43. "tailwindcss-animate": "^1.0.7",
  44. "yup": "^1.3.2",
  45. "zod": "^3.22.4"
  46. },
  47. "devDependencies": {
  48. "@babel/core": "^7.23.2",
  49. "@babel/preset-env": "^7.23.2",
  50. "@babel/preset-react": "^7.22.15",
  51. "@babel/preset-typescript": "^7.23.2",
  52. "@storybook/addon-essentials": "^7.5.3",
  53. "@storybook/addon-interactions": "^7.5.3",
  54. "@storybook/addon-links": "^7.5.3",
  55. "@storybook/addon-onboarding": "^1.0.8",
  56. "@storybook/addon-styling-webpack": "^0.0.5",
  57. "@storybook/addon-toolbars": "^7.5.3",
  58. "@storybook/blocks": "^7.5.3",
  59. "@storybook/react": "^7.5.3",
  60. "@storybook/react-webpack5": "^7.5.3",
  61. "@storybook/testing-library": "^0.2.2",
  62. "@types/babel__core": "^7",
  63. "@types/babel__preset-env": "^7",
  64. "@types/prop-types": "^15",
  65. "@types/react": "17",
  66. "@types/react-dom": "17",
  67. "parcel": "2.8.3",
  68. "postcss": "^8.4.31",
  69. "postcss-loader": "^7.3.3",
  70. "postcss-nesting": "^12.0.1",
  71. "storybook": "^7.5.3",
  72. "string-width": "4.2.0",
  73. "strip-ansi": "^6",
  74. "style-loader": "3.3.1"
  75. },
  76. "alias": {
  77. "react": {
  78. "global": "React"
  79. },
  80. "react-dom": {
  81. "global": "ReactDOM"
  82. },
  83. "react/jsx-dev-runtime": "./node_modules/react/jsx-dev-runtime.js",
  84. "react/jsx-runtime": "./node_modules/react/jsx-runtime.js",
  85. "@/*": "./@/$1"
  86. },
  87. "targets": {
  88. "main": false,
  89. "ui": {
  90. "source": "src/ui.ts",
  91. "outputFormat": "global",
  92. "includeNodeModules": {
  93. "react": false,
  94. "react-dom": false
  95. }
  96. }
  97. },
  98. "resolutions": {
  99. "jackspeak": "^2",
  100. "string-width": "^4",
  101. "strip-ansi": "^6"
  102. },
  103. "license": "MIT"
  104. }