-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
36 lines (36 loc) · 1.26 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
{
"name": "@sharingan/database",
"version": "1.0.0",
"description": "This package contains all the entities and data access layer",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"scripts": {
"build": "tsc --project tsconfig.prod.json",
"clean": "rm -rf .turbo dist",
"lint": "eslint src index.ts",
"db:dev": "pscale connect sharingan dev --port 3311",
"db:shadow": "docker run -d --rm -e MYSQL_ROOT_PASSWORD=secret -e MYSQL_DATABASE=sharingan --name sharingan-shadow-db -p 3312:3306 mysql:8.0",
"db:shadow:stop": "docker kill sharingan-shadow-db && docker container prune -f",
"db:deploy:create": "pscale deploy-request create sharingan dev",
"db:generate": "prisma generate --schema=./prisma/schema.prisma",
"db:migrate:dev": "prisma migrate dev",
"db:reset:dev": "prisma migrate reset --skip-seed",
"db:reset:dev:seed": "prisma migrate reset",
"db:view": "prisma studio",
"db:format": "prisma format",
"db:seed": "prisma db seed"
},
"dependencies": {
"@prisma/client": "^4.1.1",
"cuid": "^2.1.8"
},
"devDependencies": {
"@types/jest": "^28.1.4",
"dotenv": "^16.0.1",
"jest": "^28.1.2",
"prisma": "^4.1.1",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
}
}