This repository has been archived by the owner on Oct 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
84 lines (84 loc) · 2.11 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
81
82
83
84
{
"name": "node-ts-backend",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "ts-node -- bin/www.ts",
"start:watch": "nodemon --exec ts-node -- bin/www.ts",
"demo": "ts-node -- bin/demo.ts",
"demo:watch": "nodemon --exec ts-node -- bin/demo.ts",
"test": "jest",
"build": "ts-node -- src/index.ts",
"lint": "./node_modules/.bin/eslint src/index.ts src/index.test.ts"
},
"dependencies": {
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1",
"lowdb": "^1.0.0",
"morgan": "^1.9.1",
"nodemailer": "^6.3.1",
"prisma-client-lib": "^1.34.10",
"request": "^2.88.0"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/body-parser": "^1.17.1",
"@types/cors": "^2.8.6",
"@types/dotenv": "^6.1.1",
"@types/express": "^4.17.1",
"@types/jest": "^24.0.19",
"@types/jsonwebtoken": "^8.3.5",
"@types/lowdb": "1.0.7",
"@types/morgan": "^1.7.37",
"@types/node": "^12.11.1",
"@types/nodemailer": "^6.2.1",
"@types/request": "^2.48.3",
"@types/supertest": "^2.0.8",
"@types/ws": "^7.2.7",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/eslint-plugin-tslint": "^2.4.0",
"@typescript-eslint/parser": "^4.4.1",
"cuid": "^2.1.6",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.13.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": ">=1",
"jest": "^24.9.0",
"lint-staged": ">=8",
"nodemon": "^1.19.4",
"prettier": "^2.1.2",
"supertest": "^4.0.2",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"typescript": "^3.6.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,json}": [
"prettier --write",
"git add"
],
"*.ts": [
"eslint --fix",
"git add"
]
},
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts?$": "ts-jest"
}
}
}