-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.68 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 1.68 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
{
"name": "backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "jest",
"prepare": "husky",
"setup-db": "./setup-db.sh local up -d",
"get-docker-ip": "docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aqf \"name=psql\")",
"dev": "nodemon src/server.ts",
"lint-staged": "lint-staged",
"format": "prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown",
"lint": "eslint --quiet --fix",
"migrate": "npx prisma migrate dev",
"seed": "npx prisma db seed",
"studio": "npx prisma studio"
},
"repository": {
"type": "git",
"url": "git+https://github.com/clowder-cloud/backend.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/clowder-cloud/backend/issues"
},
"homepage": "https://github.com/clowder-cloud/backend#readme",
"devDependencies": {
"@eslint/js": "^9.15.0",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@types/supertest": "^6.0.2",
"eslint": "^9.15.0",
"globals": "^15.12.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-sorted": "^1.0.15",
"lint-staged": "^15.2.10",
"nodemon": "^3.1.7",
"prettier": "3.4.2",
"prisma": "^6.1.0",
"prisma-json-types-generator": "^3.1.1",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript-eslint": "^8.15.0"
},
"dependencies": {
"@prisma/client": "^6.1.0",
"cors": "^2.8.5",
"express": "^4.21.1"
},
"prisma": {
"seed": "npx tsx prisma/seed.ts"
},
"lint-staged": {
"*.{js,ts}": [
"npm run lint",
"npm run format"
]
}
}