package.json 3.0 KB

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