stack/packages/stack-server/package.json
2024-05-10 17:11:53 +02:00

82 lines
3.1 KiB
JSON

{
"name": "@stackframe/stack-server",
"version": "0.4.2",
"private": true,
"scripts": {
"clean": "rimraf .next && rimraf node_modules",
"typecheck": "tsc --noEmit",
"with-env": "dotenv -c development --",
"with-env:prod": "dotenv -c --",
"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 --port 8101",
"codegen": "npm run todo; npm run prisma -- generate",
"psql": "npm run todo; npm run with-env -- bash -c 'psql $DATABASE_CONNECTION_STRING'",
"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 -- tsx prisma/seed.ts"
},
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mdx-js/loader": "^3",
"@mdx-js/react": "^3.0.0",
"@mui/icons-material": "^5.15.10",
"@mui/joy": "^5.0.0-beta.30",
"@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",
"@sentry/nextjs": "^7.105.0",
"@stackframe/stack": "workspace:*",
"@stackframe/stack-shared": "workspace:*",
"@types/mdx": "^2",
"@vercel/analytics": "^1.2.2",
"bcrypt": "^5.1.1",
"bright": "^0.8.4",
"canvas-confetti": "^1.9.2",
"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.2",
"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",
"yup": "^1.3.3"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/canvas-confetti": "^1.6.4",
"@types/node": "^20.8.10",
"@types/nodemailer": "^6.4.14",
"@types/react": "^18.2.66",
"@types/react-dom": "^18",
"prisma": "^5.9.1",
"tsx": "^4.7.2"
}
}