rsnext/examples/with-mux-video/package.json
Darius Cepulis eace44d129
with-mux-video: move to app router and update packages (#62297)
## App Router

Moves the `with-mux-video` example to idiomatic App Router, with goodies
like
* server component data fetching
* server actions
* layouts
* route groups
* loading UI

## Mux Dependencies

* @mux/mux-node 7 -> 8
* @mux/mux-player-react 1 -> 2
* @mux/upchunk + custom UI -> @mux/mux-uploader

## In other news...

* Fleshed out the README
* Updated imagery
* Moved from styled jsx to tailwind and lightly updated styles

## Contributor Checklist

* [x] The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
* [x] Make sure the linting passes by running `pnpm build && pnpm lint`.
See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md

---------

Co-authored-by: Sam Ko <sam@vercel.com>
2024-03-07 22:08:49 +00:00

26 lines
556 B
JSON

{
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@mux/mux-node": "^8",
"@mux/mux-player-react": "^2",
"@mux/mux-uploader-react": "^1.0.0-beta.15",
"next": "latest",
"react": "^18",
"react-dom": "^18",
"swr": "^2.0.0"
},
"devDependencies": {
"@types/node": "^18.11.10",
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5",
"autoprefixer": "^10",
"postcss": "^8",
"tailwindcss": "^3.4"
}
}