-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.53 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
{
"name": "backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "ts-node-dev --transpile-only --no-notify --exit-child src/index.ts",
"build": "rimraf dist && prisma migrate deploy && prisma generate && npm run generate && tsc",
"generate": "ts-node --transpile-only src/schema.ts",
"migrate:deploy": "prisma migrate deploy",
"start": "node dist/src/index.js",
"ts.check": "tsc --project tsconfig.json",
"add-build": "git add dist"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/jsonwebtoken": "^8.5.8",
"@types/node": "^17.0.42",
"pre-commit": "^1.2.2",
"prisma": "^3.13.0",
"rimraf": "^4.1.1",
"ts-node": "^10.7.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.6.2"
},
"dependencies": {
"@prisma/client": "^3.13.0",
"apollo-server-core": "^3.8.2",
"apollo-server-errors": "^3.3.1",
"apollo-server-express": "^3.6.7",
"bcryptjs": "^2.4.3",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"graphql": "^15.8.0",
"graphql-middleware": "^6.1.21",
"graphql-scalars": "^1.17.0",
"graphql-shield": "^7.5.0",
"jsonwebtoken": "^8.5.1",
"nexus": "^1.1.0"
},
"pre-commit": [
"ts.check",
"build",
"add-build"
]
}