package.json 3.6 KB

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