147 lines
5.3 KiB
JSON
147 lines
5.3 KiB
JSON
{
|
||
"name": "web2",
|
||
"version": "0.1.0",
|
||
"private": true,
|
||
"scripts": {
|
||
"------------------ db command": "----",
|
||
"------ db command": "生成创建数据库表结构的sql文件",
|
||
"dbmc": "cross-env NODE_ENV=development prisma migrate dev --create-only --skip-generate",
|
||
"-------- db command": "应用上面的sql文件到数据库中",
|
||
"dbp": "cross-env NODE_ENV=development prisma db push",
|
||
"------------------------- db command": "生成prisma client代码.生成ts文件(数据操作的类型、方法等)",
|
||
"dbg": "cross-env NODE_ENV=development prisma generate",
|
||
"- db command": "上面3个命令合并执行,pnpm dbm --name=update",
|
||
"dbm": "cross-env NODE_ENV=development prisma migrate dev --skip-seed",
|
||
"dbms": "cross-env NODE_ENV=development prisma migrate dev",
|
||
"------------- db command": "重置数据库,删除所有数据,如何重新生成数据库表结构",
|
||
"dbmr": "cross-env NODE_ENV=development prisma migrate reset -f --skip-seed",
|
||
"dbmrs": "cross-env NODE_ENV=development prisma migrate reset -f",
|
||
"---------- db command": "部署数据库变更到生产环境",
|
||
"dbmd": "cross-env NODE_ENV=production prisma migrate deploy",
|
||
"dbs": "prisma db seed",
|
||
"dev": "next dev",
|
||
"build": "next build",
|
||
"start": "next start",
|
||
"lint": "next lint"
|
||
},
|
||
"dependencies": {
|
||
"@3rapp/utils": "workspace:*",
|
||
"@auth/prisma-adapter": "^2.6.0",
|
||
"@faker-js/faker": "^8.4.1",
|
||
"@hookform/resolvers": "^3.9.0",
|
||
"@mdx-js/loader": "^3.0.1",
|
||
"@mdx-js/react": "^3.0.1",
|
||
"@next/mdx": "^14.2.14",
|
||
"@prisma/client": "5.20.0",
|
||
"@radix-ui/react-accordion": "^1.2.1",
|
||
"@radix-ui/react-alert-dialog": "^1.1.2",
|
||
"@radix-ui/react-aspect-ratio": "^1.1.0",
|
||
"@radix-ui/react-avatar": "^1.1.1",
|
||
"@radix-ui/react-checkbox": "^1.1.2",
|
||
"@radix-ui/react-collapsible": "^1.1.1",
|
||
"@radix-ui/react-context-menu": "^2.2.2",
|
||
"@radix-ui/react-dialog": "^1.1.2",
|
||
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
||
"@radix-ui/react-hover-card": "^1.1.2",
|
||
"@radix-ui/react-icons": "^1.3.0",
|
||
"@radix-ui/react-label": "^2.1.0",
|
||
"@radix-ui/react-menubar": "^1.1.2",
|
||
"@radix-ui/react-navigation-menu": "^1.2.1",
|
||
"@radix-ui/react-popover": "^1.1.2",
|
||
"@radix-ui/react-progress": "^1.1.0",
|
||
"@radix-ui/react-radio-group": "^1.2.1",
|
||
"@radix-ui/react-scroll-area": "^1.2.0",
|
||
"@radix-ui/react-select": "^2.1.1",
|
||
"@radix-ui/react-separator": "^1.1.0",
|
||
"@radix-ui/react-slider": "^1.2.1",
|
||
"@radix-ui/react-slot": "^1.1.0",
|
||
"@radix-ui/react-switch": "^1.1.1",
|
||
"@radix-ui/react-tabs": "^1.1.1",
|
||
"@radix-ui/react-toast": "^1.2.2",
|
||
"@radix-ui/react-toggle": "^1.1.0",
|
||
"@radix-ui/react-toggle-group": "^1.1.0",
|
||
"@radix-ui/react-tooltip": "^1.1.3",
|
||
"@types/mdx": "^2.0.13",
|
||
"@types/nodemailer": "^6.4.16",
|
||
"@vavt/cm-extension": "^1.5.0",
|
||
"bcrypt": "^5.1.1",
|
||
"bcryptjs": "^2.4.3",
|
||
"class-variance-authority": "^0.7.0",
|
||
"clsx": "^2.1.1",
|
||
"cmdk": "1.0.0",
|
||
"date-fns": "^4.1.0",
|
||
"embla-carousel-react": "^8.3.0",
|
||
"input-otp": "^1.2.4",
|
||
"ioredis": "^5.4.1",
|
||
"lucide-react": "^0.441.0",
|
||
"md-editor-rt": "^4.20.2",
|
||
"micromatch": "^4.0.8",
|
||
"next": "14.2.12",
|
||
"next-auth": "5.0.0-beta.22",
|
||
"next-mdx-remote": "^5.0.0",
|
||
"next-themes": "^0.3.0",
|
||
"nodemailer": "^6.9.16",
|
||
"pinyin": "4.0.0-alpha.2",
|
||
"prism-themes": "^1.9.0",
|
||
"prisma-paginate": "^5.2.1",
|
||
"react": "^18.3.1",
|
||
"react-day-picker": "8.10.1",
|
||
"react-dom": "^18.3.1",
|
||
"react-hook-form": "^7.53.0",
|
||
"react-icons": "^5.3.0",
|
||
"react-resizable-panels": "^2.1.4",
|
||
"react-spinners": "^0.14.1",
|
||
"react-use": "^17.5.1",
|
||
"recharts": "^2.13.0",
|
||
"rehype-prism-plus": "^2.0.0",
|
||
"resend": "^4.0.0",
|
||
"segmentit": "^2.0.3",
|
||
"sharp": "^0.33.5",
|
||
"sonner": "^1.5.0",
|
||
"tailwind-merge": "^2.5.2",
|
||
"tailwindcss-animate": "^1.0.7",
|
||
"uuid": "^10.0.0",
|
||
"vaul": "^1.1.0",
|
||
"zod": "^3.23.8"
|
||
},
|
||
"devDependencies": {
|
||
"@3rapp/core": "workspace:*",
|
||
"@types/bcrypt": "^5.0.2",
|
||
"@types/bcryptjs": "^2.4.6",
|
||
"@types/lodash": "^4.17.9",
|
||
"@types/micromatch": "^4.0.9",
|
||
"@types/node": "^20.16.10",
|
||
"@types/pinyin": "^2.10.2",
|
||
"@types/react": "^18.3.10",
|
||
"@types/react-dom": "^18.3.0",
|
||
"@types/uuid": "^10.0.0",
|
||
"@typescript-eslint/eslint-plugin": "^8.12.2",
|
||
"@typescript-eslint/parser": "^8.12.2",
|
||
"autoprefixer": "^10.4.20",
|
||
"cross-env": "^7.0.3",
|
||
"eslint": "^8.57.1",
|
||
"postcss": "^8.4.47",
|
||
"postcss-import": "^16.1.0",
|
||
"postcss-mixins": "^10.0.1",
|
||
"postcss-nested": "^6.2.0",
|
||
"postcss-nesting": "^12.1.5",
|
||
"prisma": "^5.20.0",
|
||
"prisma-extension-bark": "^0.2.2",
|
||
"stylelint": "^16.9.0",
|
||
"stylelint-config-css-modules": "^4.4.0",
|
||
"stylelint-config-recess-order": "^5.1.1",
|
||
"stylelint-config-standard": "^36.0.1",
|
||
"stylelint-prettier": "^5.0.2",
|
||
"tailwindcss": "^3.4.13",
|
||
"tailwindcss-animate": "^1.0.7",
|
||
"ts-node": "^10.9.2",
|
||
"tsconfig-paths": "^4.2.0",
|
||
"typescript": "^5.6.2",
|
||
"utility-types": "^3.11.0"
|
||
},
|
||
"prisma": {
|
||
"schema": "src/database/schema",
|
||
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} -r tsconfig-paths/register src/database/seed/index.ts"
|
||
}
|
||
}
|