forked from khaled-hamam/votespots-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.13 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
{
"name": "votespots-backend",
"version": "1.0.0",
"description": "Real-time voting platform backend",
"main": "dist/index.js",
"scripts": {
"start": "npm run start:server",
"start:dev": "npm-run-all --parallel watch:ts watch:server",
"build": "npm-run-all clean build:ts",
"start:server": "node dist/index.js",
"watch:server": "nodemon dist/index.js",
"clean": "rimraf dist",
"build:ts": "tsc",
"watch:ts": "tsc -w",
"lint": "tslint -c tslint.json -p tsconfig.json",
"test": "jest --forceExit --coverage --verbose",
"watch:test": "npm run test -- --watchAll",
"prettier": "prettier --config ./.prettierrc --write \"src/**/*.ts\"",
"tslint-check": "tslint-config-prettier-check ./tslint.json",
"lint-staged": "lint-staged",
"postinstall": "npm run build:ts"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"*.ts": [
"npm run prettier",
"git add"
]
},
"keywords": [],
"author": "Khaled Mohamed <Khal3d.Mohamed@gmail.com>",
"devDependencies": {
"@types/bcrypt": "^3.0.0",
"@types/compression": "0.0.36",
"@types/cors": "^2.8.4",
"@types/dotenv": "^4.0.3",
"@types/express": "^4.16.0",
"@types/helmet": "0.0.38",
"@types/jest": "^23.3.1",
"@types/jsonwebtoken": "^8.3.0",
"@types/mongoose": "^5.3.3",
"@types/morgan": "^1.7.35",
"@types/socket.io": "^2.1.2",
"@types/supertest": "^2.0.5",
"husky": "^1.0.0-rc.13",
"jest": "^23.5.0",
"lint-staged": "^7.2.2",
"nodemon": "^1.18.3",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.2",
"rimraf": "^2.6.2",
"supertest": "^3.1.0",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "^3.0.1"
},
"dependencies": {
"bcrypt": "^3.0.2",
"body-parser": "^1.18.3",
"compression": "^1.7.3",
"cors": "^2.8.4",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"express-async-errors": "^3.1.1",
"helmet": "^3.13.0",
"jsonwebtoken": "^8.4.0",
"mongoose": "^5.3.14",
"morgan": "^1.9.1",
"socket.io": "^2.2.0"
}
}