-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 2.81 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
{
"name": "nuxt-app",
"private": true,
"prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
"scriptsComments": {
"SUPABASE COMMENTS": "*** START/STOP/GENERATE_TYPES ***",
"sb:restart": "reboots the supabase docker container",
"sb:start": "starts the supabase docker container",
"sb:stop": "stops the supabase docker container and creates a backup",
"sb:types": "creates data types for the supabase client",
"sb:serve": "serves edge functions locally using .env.local",
"PRISMA COMMENTS": "*** META SCRIPTS ***",
"reset": "Resets the database and runs the prisma meta scripts",
"prisma": "meta script that Runs the privileges, rls, and functions/triggers scripts",
"prisma:realtime": "enables realtime on the notification table",
"prisma:storage": "Creates a storage bucket and adds a policies to the bucket"
},
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare && prisma generate",
"sb:stop": "npx env-cmd npx supabase stop --backup",
"sb:start": "npx env-cmd npx supabase start",
"sb:restart": "npm run sb:stop && npm run sb:start",
"sb:types": "npx supabase gen types typescript --local tb > ./types/db_types.ts",
"sb:serve": "supabase functions serve --env-file ./supabase/.env.local",
"prisma:reset": " npx prisma db push && npm run prisma && npx prisma db seed",
"prisma": "npm run prisma:privileges && npm run prisma:rls && npm run prisma:triggers",
"prisma:privileges": "npx prisma db execute --file ./prisma/sql/privileges.sql --schema ./prisma/schema.prisma",
"prisma:rls": "npx prisma db execute --file ./prisma/sql/rls.sql --schema ./prisma/schema.prisma",
"prisma:triggers": "npx prisma db execute --file ./prisma/sql/triggers.sql --schema ./prisma/schema.prisma",
"prisma:storage": "npx prisma db execute --file ./prisma/sql/storage.sql --schema ./prisma/schema.prisma",
"prisma:realtime": "npx prisma db execute --file ./prisma/sql/realtime.sql --schema ./prisma/schema.prisma",
"prisma:studio": "npx prisma studio --schema ./prisma/schema.prisma",
"test": "vitest",
"coverage": "vitest run --coverage"
},
"devDependencies": {
"@nuxt/content": "^2.6.0",
"@nuxt/devtools": "^0.4.2",
"@nuxtjs/supabase": "^0.3.5",
"@nuxtjs/tailwindcss": "^6.6.6",
"@pinia-plugin-persistedstate/nuxt": "^1.1.1",
"@prisma/client": "^4.13.0",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.9",
"@types/node": "^18.16.1",
"env-cmd": "^10.1.0",
"nuxt": "^3.4.2",
"prisma": "^4.13.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
},
"dependencies": {
"@pinia/nuxt": "^0.4.9",
"lodash": "^4.17.21",
"stripe": "^12.2.0",
"vue-final-modal": "^4.4.2",
"vue-toastification": "^2.0.0-rc.5",
"zod": "^3.21.4"
}
}