mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-02-08 18:39:31 +08:00
144 lines
4.5 KiB
JSON
144 lines
4.5 KiB
JSON
{
|
|
"name": "v4",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "pnpm icons:dev & next dev --turbopack --port 4000",
|
|
"build": "pnpm --filter=shadcn build && next build",
|
|
"start": "next start --port 4000",
|
|
"preview": "pnpm --filter=shadcn build && next build && next start --port 4000",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint --fix .",
|
|
"typecheck": "tsc --noEmit",
|
|
"format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache",
|
|
"format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache",
|
|
"icons:dev": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-icons.ts --watch",
|
|
"registry:build": "bun run ./scripts/build-registry.mts && pnpm examples:build && prettier --log-level silent --write \"registry/**/*.{ts,tsx,json,mdx}\" \"examples/**/*.{ts,tsx}\" --cache",
|
|
"registry": "bun run ./scripts/build-registry.mts",
|
|
"examples:build": "bun run ./scripts/build-examples.ts && prettier --log-level silent --write \"examples/**/*.{ts,tsx}\" --cache",
|
|
"registry:capture": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/capture-registry.mts",
|
|
"validate:registries": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/validate-registries.mts",
|
|
"test:apps": "bun run ./scripts/build-test-app.mts",
|
|
"postinstall": "fumadocs-mdx"
|
|
},
|
|
"dependencies": {
|
|
"@base-ui/react": "1.1.0",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@faker-js/faker": "^10.1.0",
|
|
"@hookform/resolvers": "^3.10.0",
|
|
"@hugeicons/core-free-icons": "^1.2.1",
|
|
"@hugeicons/react": "^1.1.1",
|
|
"@phosphor-icons/react": "^2.1.10",
|
|
"@remixicon/react": "^4.7.0",
|
|
"@tabler/icons-react": "^3.31.0",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@tanstack/react-form": "^1.20.0",
|
|
"@tanstack/react-table": "^8.9.1",
|
|
"@vercel/analytics": "^1.4.1",
|
|
"change-case": "^5.4.4",
|
|
"chrono-node": "^2.8.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"dedent": "^1.6.0",
|
|
"embla-carousel-autoplay": "8.5.2",
|
|
"embla-carousel-react": "8.5.2",
|
|
"front-matter": "^4.0.2",
|
|
"fumadocs-core": "16.0.5",
|
|
"fumadocs-docgen": "2.0.0",
|
|
"fumadocs-mdx": "13.0.2",
|
|
"fumadocs-ui": "16.0.5",
|
|
"input-otp": "^1.4.2",
|
|
"jotai": "^2.15.0",
|
|
"little-date": "^1.0.0",
|
|
"lodash": "^4.17.23",
|
|
"lru-cache": "^11.2.4",
|
|
"lucide-react": "0.474.0",
|
|
"motion": "^12.12.1",
|
|
"next": "16.1.4",
|
|
"next-themes": "0.4.6",
|
|
"nuqs": "^2.7.2",
|
|
"postcss": "^8.5.1",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "19.2.3",
|
|
"react-day-picker": "^9.7.0",
|
|
"react-dom": "19.2.3",
|
|
"react-hook-form": "^7.62.0",
|
|
"react-resizable-panels": "^4",
|
|
"react-textarea-autosize": "^8.5.9",
|
|
"recharts": "2.15.1",
|
|
"rehype-pretty-code": "^0.14.1",
|
|
"rimraf": "^6.0.1",
|
|
"server-only": "^0.0.1",
|
|
"shadcn": "3.8.2",
|
|
"shiki": "^1.10.1",
|
|
"sonner": "^2.0.0",
|
|
"swr": "^2.3.6",
|
|
"tailwind-merge": "^3.0.1",
|
|
"ts-morph": "26.0.0",
|
|
"vaul": "1.1.2",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/lodash": "^4.17.7",
|
|
"@types/mdx": "^2.0.13",
|
|
"@types/node": "^20",
|
|
"@types/react": "19.2.2",
|
|
"@types/react-dom": "19.2.2",
|
|
"@typescript-eslint/parser": "^8.31.0",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.0.0",
|
|
"prettier": "^3.4.2",
|
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
"tailwindcss": "^4",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "^5",
|
|
"unist-builder": "3.0.0",
|
|
"unist-util-visit": "^4.1.2"
|
|
},
|
|
"prettier": {
|
|
"endOfLine": "lf",
|
|
"semi": false,
|
|
"singleQuote": false,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5",
|
|
"importOrder": [
|
|
"^(react/(.*)$)|^(react$)",
|
|
"^(next/(.*)$)|^(next$)",
|
|
"<THIRD_PARTY_MODULES>",
|
|
"",
|
|
"^@workspace/(.*)$",
|
|
"",
|
|
"^types$",
|
|
"^@/types/(.*)$",
|
|
"^@/config/(.*)$",
|
|
"^@/lib/(.*)$",
|
|
"^@/hooks/(.*)$",
|
|
"^@/components/ui/(.*)$",
|
|
"^@/components/(.*)$",
|
|
"^@/registry/(.*)$",
|
|
"^@/styles/(.*)$",
|
|
"^@/app/(.*)$",
|
|
"^@/www/(.*)$",
|
|
"",
|
|
"^[./]"
|
|
],
|
|
"importOrderParserPlugins": [
|
|
"typescript",
|
|
"jsx",
|
|
"decorators-legacy"
|
|
],
|
|
"plugins": [
|
|
"@ianvs/prettier-plugin-sort-imports",
|
|
"prettier-plugin-tailwindcss"
|
|
]
|
|
}
|
|
}
|