mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
refactor: switch to next.js
This commit is contained in:
@@ -7,9 +7,11 @@
|
||||
"test": "vitest run",
|
||||
"build": "yarn build:css && yarn build:remix",
|
||||
"build:css": "yarn generate:css",
|
||||
"build:next": "next build",
|
||||
"build:remix": "remix build",
|
||||
"dev": "concurrently 'yarn dev:css' 'yarn dev:remix'",
|
||||
"dev:css": "yarn generate:css --watch",
|
||||
"dev:next": "next dev",
|
||||
"dev:remix": "remix dev",
|
||||
"generate:css": "unocss 'src/**/*.tsx' --out-file ./src/styles/unocss.css",
|
||||
"lint": "prettier --check . && eslint src --ext mjs,js,ts,tsx",
|
||||
@@ -55,6 +57,7 @@
|
||||
"@remix-run/server-runtime": "^1.6.5",
|
||||
"@remix-run/vercel": "^1.6.5",
|
||||
"@vscode/codicons": "^0.0.31",
|
||||
"next": "^12.2.3",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-icons": "^4.4.0",
|
||||
@@ -76,6 +79,7 @@
|
||||
"@unocss/cli": "^0.44.5",
|
||||
"@unocss/preset-web-fonts": "^0.44.5",
|
||||
"@unocss/reset": "^0.44.5",
|
||||
"@unocss/webpack": "^0.44.5",
|
||||
"@vitejs/plugin-react": "^2.0.0",
|
||||
"c8": "^7.12.0",
|
||||
"concurrently": "^7.3.0",
|
||||
|
||||
Reference in New Issue
Block a user