mirror of https://github.com/logseq/logseq
108 lines
3.2 KiB
JSON
108 lines
3.2 KiB
JSON
{
|
|
"name": "ui",
|
|
"version": "0.0.1",
|
|
"description": "UI components for Logseq.",
|
|
"author": "Logseq",
|
|
"scripts": {
|
|
"watch:ui:examples": "parcel serve ./examples/index.html",
|
|
"build:ui:only": "parcel build --target ui",
|
|
"build:ui": "rm -rf .parcel-cache && yarn build:ui:only",
|
|
"watch:storybook": "storybook dev -p 6006",
|
|
"postinstall": "yarn build:ui"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^3.3.2",
|
|
"@radix-ui/colors": "^3.0.0",
|
|
"@radix-ui/react-alert-dialog": "^1.0.5",
|
|
"@radix-ui/react-avatar": "^1.0.4",
|
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
"@radix-ui/react-context-menu": "^2.1.5",
|
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
"@radix-ui/react-label": "^2.0.2",
|
|
"@radix-ui/react-popover": "^1.0.7",
|
|
"@radix-ui/react-radio-group": "^1.1.3",
|
|
"@radix-ui/react-select": "^2.0.0",
|
|
"@radix-ui/react-separator": "^1.0.3",
|
|
"@radix-ui/react-slider": "^1.1.2",
|
|
"@radix-ui/react-slot": "^1.0.2",
|
|
"@radix-ui/react-switch": "^1.0.3",
|
|
"@radix-ui/react-toast": "^1.1.5",
|
|
"@radix-ui/react-toggle": "^1.0.3",
|
|
"@radix-ui/react-toggle-group": "^1.0.4",
|
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.0.0",
|
|
"cmdk": "^0.2.0",
|
|
"date-fns": "^2.30.0",
|
|
"lucide-react": "^0.292.0",
|
|
"react": "^18",
|
|
"react-day-picker": "^8.9.1",
|
|
"react-dom": "^18",
|
|
"react-hook-form": "^7.48.2",
|
|
"react-remove-scroll": "^2.5.7",
|
|
"tailwind-merge": "^2.0.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"uniqolor": "1.1.1",
|
|
"yup": "^1.3.2",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.2",
|
|
"@babel/preset-env": "^7.23.2",
|
|
"@babel/preset-react": "^7.22.15",
|
|
"@babel/preset-typescript": "^7.23.2",
|
|
"@storybook/addon-essentials": "^7.5.3",
|
|
"@storybook/addon-interactions": "^7.5.3",
|
|
"@storybook/addon-links": "^7.5.3",
|
|
"@storybook/addon-onboarding": "^1.0.8",
|
|
"@storybook/addon-styling-webpack": "^0.0.5",
|
|
"@storybook/addon-toolbars": "^7.5.3",
|
|
"@storybook/blocks": "^7.5.3",
|
|
"@storybook/react": "^7.5.3",
|
|
"@storybook/react-webpack5": "^7.5.3",
|
|
"@storybook/testing-library": "^0.2.2",
|
|
"@types/babel__core": "^7",
|
|
"@types/babel__preset-env": "^7",
|
|
"@types/prop-types": "^15",
|
|
"@types/react": "17",
|
|
"@types/react-dom": "17",
|
|
"parcel": "2.8.3",
|
|
"postcss": "^8.4.31",
|
|
"postcss-loader": "^7.3.3",
|
|
"postcss-nesting": "^12.0.1",
|
|
"storybook": "^7.5.3",
|
|
"string-width": "4.2.0",
|
|
"strip-ansi": "^6",
|
|
"style-loader": "3.3.1"
|
|
},
|
|
"alias": {
|
|
"react": {
|
|
"global": "React"
|
|
},
|
|
"react-dom": {
|
|
"global": "ReactDOM"
|
|
},
|
|
"react/jsx-dev-runtime": "./node_modules/react/jsx-dev-runtime.js",
|
|
"react/jsx-runtime": "./node_modules/react/jsx-runtime.js",
|
|
"@/*": "./@/$1"
|
|
},
|
|
"targets": {
|
|
"main": false,
|
|
"ui": {
|
|
"source": "src/ui.ts",
|
|
"outputFormat": "global",
|
|
"includeNodeModules": {
|
|
"react": false,
|
|
"react-dom": false
|
|
}
|
|
}
|
|
},
|
|
"resolutions": {
|
|
"jackspeak": "^2",
|
|
"string-width": "^4",
|
|
"strip-ansi": "^6"
|
|
},
|
|
"license": "MIT"
|
|
}
|