-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
78 lines (78 loc) · 2.22 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
{
"name": "express-prisma-realworld-official-app",
"version": "1.0.1",
"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": "^3.4.2",
"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.2"
},
"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.2",
"@types/jsonwebtoken": "^8.5.5",
"@types/node": "^15.14.9",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"husky": "^7.0.4",
"jest": "^27.3.1",
"jest-mock-extended": "^2.0.4",
"lint-staged": "^12.0.2",
"prettier": "2.4.1",
"prisma": "^3.4.2",
"ts-jest": "^27.0.7",
"ts-node-dev": "^1.1.8",
"typescript": "^4.4.4"
},
"lint-staged": {
"*.ts": [
"npm run prisma:format",
"npm run lint:fix",
"npm run prettier:write",
"git add"
]
}
}