-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 1.08 KB
/
package.json
File metadata and controls
32 lines (32 loc) · 1.08 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
{
"name": "load",
"version": "0.0.1",
"private": true,
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"postinstall": "npx ts-patch install",
"db:migrate": "rm -rf prisma/migrations && npx prisma migrate reset -f && npx prisma generate && npx prisma migrate dev --name init",
"db:studio": "npx prisma studio",
"db:backup": "sqlite3 prisma/data.db .dump > prisma/backup.sql",
"db:restore": "rm -f prisma/data.db && sqlite3 prisma/data.db < prisma/backup.sql",
"prebuild": "rm -rf dist/ && rm -f tsconfig.tsbuildinfo",
"build": "tsc && tsc-alias",
"start": "node dist/index.js",
"go": "node --import tsx src/index.ts"
},
"dependencies": {
"@prisma/client": "^5.17.0",
"axios": "^1.7.3",
"prisma": "^5.16.1",
"ts-runtime-checks": "^0.6.1"
},
"devDependencies": {
"@types/node": "^20.14.10",
"ts-patch": "^3.2.1",
"tsc-alias": "^1.8.10",
"tsx": "^4.16.2",
"typescript": "^5.5.4"
}
}