-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
149 lines (149 loc) · 5.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "saturn",
"version": "0.1.1",
"author": {
"name": "Wesley Souza",
"email": "[email protected]"
},
"private": true,
"scripts": {
"cli": "node scripts/cli/cli.js",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"start:db": "docker start postgres || docker run --name postgres -e POSTGRES_PASSWORD=123321 -p 5432:5432 -d postgres",
"stop:db": "docker stop postgres",
"db:create": "docker exec meu_postgres createdb -U postgres meu_banco",
"db:drop": "docker exec meu_postgres dropdb -U postgres meu_banco",
"db:backup": "docker exec meu_postgres pg_dump -U postgres -F c meu_banco > backup.sql",
"db:restore": "cat backup.sql | docker exec -i meu_postgres psql -U postgres meu_banco",
"remove:db": "docker remove postgres",
"docker:psql": "docker exec -it meu_postgres psql -U postgres",
"docker:logs": "docker logs meu_postgres",
"docker:restart": "docker restart meu_postgres",
"docker:prune": "docker system prune -f",
"docker:down": "docker-compose down",
"docker:up": "docker-compose up -d",
"logs:tail": "docker logs -f meu_postgres",
"logs:clear": "docker logs --tail 0",
"clean:cache": "next cache clear",
"clean:node_modules": "rm -rf node_modules",
"clean:build": "rm -rf .next",
"clean:all": "pnpm run clean:cache && pnpm run clean:node_modules && pnpm run clean:build",
"monitor:cpu": "docker stats --no-stream --format \"{{.Container}}: {{.CPUPerc}}\"",
"monitor:mem": "docker stats --no-stream --format \"{{.Container}}: {{.MemUsage}}\"",
"prisma:migrate": "pnpx prisma migrate dev",
"prisma:generate": "pnpx prisma generate",
"prisma:db:pull": "pnpx prisma db pull",
"prisma:studio": "pnpx prisma studio",
"prisma:deploy": "npx prisma migrate deploy",
"prisma:reset": "npx prisma migrate reset --force",
"prisma:seed": "npx prisma db seed",
"prisma:introspect": "npx prisma db introspect",
"prisma:validate": "npx prisma validate",
"prisma:clean": "npx prisma migrate reset --force && npx prisma migrate dev --name init",
"env:copy": "cp .env.example .env",
"env:sync": "sync-env",
"setup": "pnpm install && pnpm run prisma:generate && pnpm run dev",
"optimize:images": "next build && next export && imagemin public/* -o optimized/",
"analyze:bundle": "next build && next export && next-bundle-analyzer",
"analyze:webpack": "next build --profile && webpack-bundle-analyzer .next/stats.json",
"deps:update": "pnpm update",
"deps:check": "pnpm outdated",
"deps:upgrade": "pnpx pnpm-check-updates -u && pnpm install",
"deploy:staging": "next build && next export && vercel --pre",
"deploy:preview": "vercel",
"deploy": "pnpm run build && pnpm run prisma:deploy && pnpm run start",
"deploy:vercel": "vercel --prod",
"deploy:netlify": "netlify deploy --prod",
"test": "jest"
},
"dependencies": {
"@hookform/resolvers": "^3.9.0",
"@prisma/client": "^5.18.0",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-aspect-ratio": "^1.1.0",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-context-menu": "^2.2.1",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-hover-card": "^1.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-menubar": "^1.1.1",
"@radix-ui/react-navigation-menu": "^1.2.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-radio-group": "^1.2.0",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-toggle": "^1.1.0",
"@radix-ui/react-toggle-group": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.2",
"@tabler/icons-react": "^3.17.0",
"@tsparticles/engine": "^3.5.0",
"@tsparticles/react": "^3.0.0",
"@tsparticles/slim": "^3.5.0",
"canvas-confetti": "^1.9.3",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "1.0.0",
"cobe": "^0.6.3",
"commander": "^12.1.0",
"date-fns": "^3.6.0",
"embla-carousel-react": "^8.2.0",
"enquirer": "^2.4.1",
"framer-motion": "^11.3.30",
"i18next": "^23.15.1",
"input-otp": "^1.2.4",
"inquirer": "^10.1.8",
"lucide-react": "^0.435.0",
"next": "14.2.12",
"next-themes": "^0.3.0",
"ni18n": "^1.1.0",
"react": "^18",
"react-day-picker": "8.10.1",
"react-dom": "^18",
"react-hook-form": "^7.52.2",
"react-i18next": "^15.0.2",
"react-icon-cloud": "^4.1.4",
"react-resizable-panels": "^2.1.1",
"react-spring": "^9.7.4",
"react-tweet": "^3.2.1",
"recharts": "^2.12.7",
"sonner": "^1.5.0",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"ts-node": "^10.9.2",
"vaul": "^0.9.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@babel/preset-typescript": "^7.24.7",
"@jest/globals": "^29.7.0",
"@types/canvas-confetti": "^1.6.4",
"@types/inquirer": "^9.0.7",
"@types/jest": "^29.5.13",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.6",
"jest": "^29.7.0",
"postcss": "^8",
"prisma": "^5.18.0",
"tailwindcss": "^3.4.1",
"ts-jest": "^29.2.5",
"typescript": "^5"
}
}