mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
87 lines
3.1 KiB
JSON
87 lines
3.1 KiB
JSON
{
|
|
"name": "stack-server",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"clean": "rimraf .next",
|
|
"typecheck": "tsc --noEmit",
|
|
"with-env": "dotenv -c --",
|
|
"with-env:dev": "dotenv -c development --",
|
|
"keygen": "node scripts/generateKey.js",
|
|
"postinstall": "npm run todo",
|
|
"dev": "npm run todo; next dev --port 8101",
|
|
"build": "npm run todo; npm run codegen && next build",
|
|
"analyze-bundle": "npm run todo; ANALYZE_BUNDLE=1 npm run build",
|
|
"start": "npm run todo; next start",
|
|
"codegen": "npm run todo; npm run prisma -- generate",
|
|
"prisma": "npm run todo; npm run with-env -- prisma",
|
|
"email": "email dev --port 3001 --dir src/email/templates",
|
|
"lint": "npm run todo; next lint",
|
|
"todo": "( sh -c 'echo && echo Analyzing TODOs...' && npm run todo-sh >/dev/null; exit 0 ) || npm run todo-win",
|
|
"todo-win": "echo \"Not running on Linux or macOS, performing simple TODO check.\" && git grep -n TODO\\ ASAP || echo \"No TODOs found, good job!\"",
|
|
"todo-sh": "( ( ! git grep -n TODO\\ ASAP 1>&2 || npm run todo-sh-error-blocker ) && echo No imminent TODOs found, good job! 1>&2 )",
|
|
"todo-sh-error-blocker": "( echo && echo ========================================= && echo There are TODO\\ ASAPs in your code, please && echo review them with '`npm run todo`'. && echo && echo Press ENTER or wait 10s to continue. && echo ========================================= && echo && bash -c 'read -t 10'; exit 1 ) 1>&2"
|
|
},
|
|
"prisma": {
|
|
"seed": "npm run with-env -- ts-node prisma/seed.ts"
|
|
},
|
|
"engines": {
|
|
"npm": ">=10.0.0",
|
|
"node": ">=20.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.11.3",
|
|
"@emotion/styled": "^11.11.0",
|
|
"@mdx-js/loader": "^3",
|
|
"@mdx-js/react": "^3",
|
|
"@mui/icons-material": "^5.15.10",
|
|
"@mui/joy": "^5.0.0-beta.28",
|
|
"@mui/material": "^5.15.7",
|
|
"@mui/x-data-grid": "^6.19.3",
|
|
"@next/bundle-analyzer": "^14.0.3",
|
|
"@next/mdx": "^14",
|
|
"@node-oauth/oauth2-server": "^5.1.0",
|
|
"@prisma/client": "^5.9.1",
|
|
"@react-email/components": "^0.0.14",
|
|
"@react-email/render": "^0.0.12",
|
|
"@react-email/tailwind": "^0.0.14",
|
|
"@types/mdx": "^2",
|
|
"bcrypt": "^5.1.1",
|
|
"bright": "^0.8.4",
|
|
"dotenv-cli": "^7.3.0",
|
|
"geist": "^1",
|
|
"jose": "^5.2.2",
|
|
"next": "^14.1",
|
|
"nodemailer": "^6.9.10",
|
|
"openid-client": "^5.6.4",
|
|
"pg": "^8.11.3",
|
|
"react": "^18",
|
|
"react-dom": "^18",
|
|
"react-email": "2.1.0",
|
|
"rehype-katex": "^7",
|
|
"remark-gfm": "^4",
|
|
"remark-heading-id": "^1.0.1",
|
|
"remark-math": "^6",
|
|
"server-only": "^0.0.1",
|
|
"sharp": "^0.32.6",
|
|
"stack": "workspace:*",
|
|
"stack-shared": "workspace:*",
|
|
"yup": "^1.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/node": "^20",
|
|
"@types/nodemailer": "^6.4.14",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"@typescript-eslint/eslint-plugin": "^6",
|
|
"@typescript-eslint/parser": "^6.x",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "^14",
|
|
"prisma": "^5.9.1",
|
|
"ts-node": "^10.9.2",
|
|
"rimraf": "^5.0.5",
|
|
"typescript": "^5.3"
|
|
}
|
|
}
|