stack/packages/stack-server/package.json
Zai Shi 9e9907f2b3
New UI system (#5)
* added stack-ui package

* added ui elements

* fixed react package type bug, added deleted components back

* updated button and typography interface

* added element provider

* moved all elements to element context

* added ui-joy

* moved UIPage component and update Button component

* added StackUIProvider

* added UI framework switch

* changed theme to colormode

* changed StackUIProvider interface

* updated file names

* updated package config

* fixed types and dependencies

* fixed color theme

* added custom button

* converted signin page to stack-ui

* moved oauth button stack-ui

* fixed styling bugs

* changed color/variant interface for button and text

* moved credential sign up to stack-ui

* moved card header and divider to stack-ui

* moved card-frame to stack-ui, fixed bugs

* fixed bugs, added global bg color to dev app

* moved forgot password to stack-ui

* updated styling

* moved form warning text to stack-ui

* added redirect message card to stack-ui

* moved everything to stack-ui, removed daisy and tailwind

* added joy input

* simplified code

* fixed joy button

* restructured UI provider interface

* made joy color mode work

* fixed small ui bugs

* updated demo, changed constant structures in stack-ui

* added select ui to demo

* added joy ui text

* added mui divider

* Used dynamic elements to replace useElements hook

* changed full page behaviour (100vh => 100%)

* added auto detect parent to cardframe

* updated documentation

* updated customization overview

* updated custom color doc

* fixed system color mode bug

* fixed select visual on safari

* changed UI provider interface

* renamed files to lower case

* fixed import bug

* finished custom colors doc

* added docs for custom components

* removed wrong cased files

* updated custom pages docs

* updated custom component docs

* elements -> components

* fixed missing rename

* fixed broken links in docs

* removed tailwind css import in stack

* fixed typos and small problems

* cleaned up package.json files

* updated dependencies

* fixed stack-server bug (webpack xxx not a function and u type error)

* updated setup doc

* added changeset

* fixed the 'use client' bug in stack-ui

* merged stack-ui and stack-ui-joy into stack

* renamed StackUIProvider to StackTheme

* unified imports

* added hook details to custom color doc
2024-03-21 10:51:53 +01:00

82 lines
3.1 KiB
JSON

{
"name": "@stackframe/stack-server",
"version": "0.1.5",
"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",
"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 -- ts-node prisma/seed.ts"
},
"engines": {
"npm": ">=10.0.0",
"node": ">=20.0.0"
},
"dependencies": {
"@vercel/analytics": "^1.2.2",
"@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",
"@stackframe/stack": "workspace:*",
"@stackframe/stack-shared": "workspace:*",
"@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.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/node": "^20.8.10",
"@types/nodemailer": "^6.4.14",
"@types/react": "^18.2.66",
"@types/react-dom": "^18",
"prisma": "^5.9.1"
}
}