Files
headlessui/playgrounds/react/package.json
T
Robin Malfait a73007388f Ensure playgrounds work + switch to npm workspaces (#2907)
* bump Next in playground

* convert legacy Link after Next.js bump

* update yarn.lock

* switch to npm workspaces

* move `packages/playground-*` to `playgrounds/*`

* use `npm` instead of `yarn`

* sync package-lock.json

* use node 20 for insiders releases
2024-01-03 14:26:12 +01:00

41 lines
1.2 KiB
JSON

{
"name": "playground-react",
"private": true,
"version": "0.0.0",
"scripts": {
"prebuild": "npm run build --workspace=@headlessui/react && npm run build --workspace=@headlessui/tailwindcss",
"predev": "npm run build --workspace=@headlessui/react && npm run build --workspace=@headlessui/tailwindcss",
"dev:tailwindcss": "npm run watch --workspace=@headlessui/tailwindcss",
"dev:headlessui": "npm run watch --workspace=@headlessui/react",
"dev:next": "next dev",
"dev": "npm-run-all -p dev:*",
"build": "next build",
"start": "next start",
"lint-types": "echo",
"clean": "rimraf ./.next"
},
"dependencies": {
"@headlessui/react": "*",
"@headlessui/tailwindcss": "*",
"@heroicons/react": "^1.0.6",
"@popperjs/core": "^2.6.0",
"@tailwindcss/forms": "^0.5.2",
"@tailwindcss/typography": "^0.5.2",
"autoprefixer": "^10.4.7",
"framer-motion": "^6.0.0",
"next": "^14.0.4",
"postcss": "^8.4.14",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-flatpickr": "^3.10.9",
"react-hot-toast": "2.3.0",
"tailwindcss": "^3.3.3"
},
"devDependencies": {
"@floating-ui/react": "^0.24.8"
},
"resolutions": {
"next/@swc/helpers": "0.4.36"
}
}