-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.13 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.13 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "anlerkan-backend",
"version": "1.0.0",
"description": "anlerkan-backend",
"main": "./src/index.ts",
"scripts": {
"lint": "eslint src/**/*.ts",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"start:dev": "nodemon src/index.ts",
"start": "set NODE_ENV=production && ts-node src/index.ts",
"test": "jest",
"test:watch": "jest --verbose --watchAll --no-cache --runInBand",
"tsc:check": "tesc --noEmit"
},
"jest": {
"testEnvironment": "node",
"preset": "ts-jest",
"setupFilesAfterEnv": [
"./src/test-utils/setup-after-env.ts"
]
},
"keywords": [],
"author": "Anlerkan",
"license": "ISC",
"dependencies": {
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"dotenv-safe": "^8.2.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"express-validator": "^6.10.0",
"jsonwebtoken": "^8.5.1",
"mongodb": "^3.6.9",
"mongodb-memory-server": "^6.9.6",
"mongoose": "^5.12.2",
"nodemailer": "^6.5.0",
"nodemon": "^2.0.7",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.10",
"@types/dotenv-safe": "^8.1.1",
"@types/express": "^4.17.11",
"@types/jest": "^26.0.22",
"@types/jsonwebtoken": "^8.5.2",
"@types/mongoose": "^5.10.4",
"@types/node": "^14.14.37",
"@types/nodemailer": "^6.4.1",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"eslint": "^7.23.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"husky": "4.3.0",
"jest": "^25.5.4",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"supertest": "^6.1.3",
"ts-jest": "^26.5.4"
},
"lint-staged": {
"src/**/*.ts": [
"npm run prettier:fix",
"npm run lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test"
}
}
}