-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.03 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
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "backend",
"version": "1.0.0",
"description": "",
"main": "dist/app.js",
"type": "module",
"scripts": {
"build": "NODE_ENV=production rollup -c",
"start": "npm run build && npm run db:migrate && npm run db:seed && node .",
"dev": "npm run db:seed && rollup -c -w",
"db:migrate": "prisma migrate dev",
"db:migrate:deploy": "prisma migrate deploy",
"db:seed": "prisma db seed",
"db:reset": "rm ./db/static/characters.json && prisma migrate reset --force",
"db:studio": "prisma studio",
"lint": "eslint .",
"lint:fix": "eslint --fix",
"format": "prettier --write './**/*.{js,ts,md,json}' --config ./.prettierrc",
"postinstall": "prisma generate",
"gen:types": "graphql-codegen --config codegen.yml && npm run format"
},
"prisma": {
"seed": "tsx db/seed.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@graphql-tools/load": "^7.7.7",
"@graphql-tools/schema": "^9.0.4",
"@graphql-tools/graphql-file-loader": "^7.5.5",
"@prisma/client": "^4.5.0",
"axios": "^1.1.3",
"bcrypt": "^5.1.0",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.1",
"express-graphql": "^0.12.0",
"graphql": "^15.8.0",
"graphql-tag": "^2.12.6",
"jsonwebtoken": "^8.5.1"
},
"devDependencies": {
"@graphql-codegen/cli": "2.13.5",
"@graphql-codegen/typescript": "2.7.3",
"@graphql-codegen/typescript-document-nodes": "2.3.3",
"@graphql-codegen/typescript-resolvers": "2.7.3",
"@rollup/plugin-run": "^2.1.0",
"@rollup/plugin-typescript": "^8.5.0",
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.14",
"@types/node": "^18.8.2",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"eslint": "^8.23.0",
"eslint-plugin-prettier": "^4.2.1",
"prisma": "^4.5.0",
"rollup": "^2.79.1",
"tslib": "^2.4.0",
"tsx": "^3.10.1",
"typescript": "^4.8.4"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
}
}