-
Notifications
You must be signed in to change notification settings - Fork 58
/
package.json
80 lines (80 loc) · 2.3 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
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "express-prisma-realworld-official-app",
"version": "1.0.0",
"description": "Node.js, Express.js & Prisma RealWorld official app",
"main": "index.js",
"scripts": {
"postinstall": "tsc",
"test": "jest -i",
"dev": "ts-node-dev --respawn --pretty --transpile-only src/index.ts dev",
"start": "node dist/src/index.js",
"prisma:migrate": "prisma migrate dev --skip-seed",
"prisma:format": "prisma format",
"prisma:generate": "prisma generate",
"prisma:generate:watch": "prisma generate --watch",
"prisma:seed": "prisma db seed --preview-feature",
"prisma:studio": "prisma studio",
"prisma:reset": "prisma migrate reset",
"prettier:write": "npx prettier --write .",
"prettier:check": "npx prettier --check .",
"lint:check": "npx eslint src/**/*.ts",
"lint:fix": "npx eslint --fix src/**/*.ts",
"prepare": "husky install"
},
"keywords": [
"node",
"express",
"prisma",
"realworld"
],
"author": {
"name": "Gerome Grignon",
"email": "[email protected]"
},
"license": "MIT",
"dependencies": {
"@prisma/client": "^2.29.1",
"@types/swagger-ui-express": "^4.1.3",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-jwt": "^6.1.0",
"jsonwebtoken": "^8.5.1",
"slugify": "^1.6.0",
"swagger-ui-express": "^4.1.6"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/cors": "^2.8.12",
"@types/cron": "^1.7.3",
"@types/express": "^4.17.13",
"@types/express-rate-limit": "^5.1.3",
"@types/jest": "^27.0.1",
"@types/jsonwebtoken": "^8.5.5",
"@types/node": "^15.14.9",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"husky": "^7.0.2",
"jest": "^27.1.0",
"jest-mock-extended": "^2.0.4",
"lint-staged": "^11.1.2",
"prettier": "2.4.0",
"prisma": "^2.29.1",
"ts-jest": "^27.0.5",
"ts-node-dev": "^1.1.8",
"typescript": "^4.4.2"
},
"lint-staged": {
"*.ts": [
"npm run prisma:format",
"npm run lint:fix",
"npm run prettier:write",
"git add"
]
}
}