-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.28 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.28 KB
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
{
"name": "@repo/database",
"version": "0.0.0",
"private": true,
"license": "Apache-2.0",
"exports": {
"./lib/*": "./src/lib/*.ts",
"./dbDotEnv": {
"types": "./types/dbDotEnv.d.ts",
"import": "./src/dbDotEnv.mjs",
"default": "./src/dbDotEnv.mjs"
},
"./dbTypes": "./src/dbTypes.ts",
"./inputTypes": "./src/inputTypes.ts"
},
"typesVersions": {
"*": {
"./dbDotEnv": [
"types/dbDotEnv.d.ts"
]
}
},
"scripts": {
"init": "supabase login",
"setup": "pnpm run genenv && pnpm run migrate",
"dev": "pnpm run setup && pnpm run serve",
"build": "pnpm run setup && tsc",
"serve": "tsx scripts/serve.ts",
"stop": "supabase stop",
"check-types": "tsc --noEmit --skipLibCheck",
"check-schema": "tsx scripts/lintSchemas.ts && supabase stop && pnpm run dbdiff",
"lint": "eslint . && tsx scripts/lintSchemas.ts && tsx scripts/lintFunctions.ts",
"lint:fix": "eslint --fix . && tsx scripts/lintSchemas.ts -f && tsx scripts/lintFunctions.ts",
"migrate": "tsx scripts/migrate.ts",
"test": "pnpm run build && cucumber-js",
"genenv": "tsx scripts/createEnv.mts",
"gentypes": "tsx scripts/genTypes.ts && kysely-codegen && kysely-codegen --config-file .zod-codegenrc.ts",
"dbdiff": "supabase stop && supabase db diff",
"dbdiff:save": "supabase stop && supabase db diff -f",
"deploy": "tsx scripts/deploy.ts",
"deploy:functions": "tsx scripts/deploy.ts -f"
},
"dependencies": {
"@repo/utils": "workspace:*",
"@supabase/auth-js": "catalog:",
"@supabase/functions-js": "catalog:",
"@supabase/supabase-js": "catalog:",
"kysely": "^0.28.8",
"pg": "^8.16.3",
"zod": "^4.1.12"
},
"devDependencies": {
"@cucumber/cucumber": "^12.1.0",
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@types/node": "^20",
"@types/pg": "^8.15.5",
"@vercel/sdk": "^1.16.0",
"dotenv": "^16.6.1",
"eslint": "catalog:",
"kysely-codegen": "^0.19.0",
"prettier-plugin-gherkin": "^3.1.2",
"supabase": "^2.53.6",
"ts-node-maintained": "^10.9.5",
"ts-to-zod": "^5.0.1",
"tsx": "4.20.6",
"typescript": "5.9.2",
"vercel": "48.6.0"
},
"prettier": {
"plugins": [
"prettier-plugin-gherkin"
]
}
}