-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
executable file
·88 lines (88 loc) · 2.27 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
85
86
87
88
{
"name": "hotel-reservation-api",
"description": "An API that handles all operations involved in an online hotel reservation platform",
"version": "1.0.0",
"private": true,
"license": "MIT",
"maintainers": [
"Abetang Joseph",
"Etiene Essenoh"
],
"scripts": {
"clean": "rimraf dist",
"server": "node ./dist/bootstrap/index.js ",
"transpile": "babel src -d dist",
"build": "npm run clean && npm run transpile",
"start": "babel src -d dist && node ./dist/bootstrap/index.js ",
"dev": "export NODE_ENV=development npm run clean && npm run transpile && npm run server",
"docs": "apidoc -i src/ -o apidoc/",
"jsdocs": "jsdoc src/",
"http-server": "npm run http-server && swagger-editor",
"watch": "nodemon",
"test": "jest --config ./jest.config.json"
},
"nodemonConfig": {
"exec": "npm dev",
"watch": [
"src/*"
],
"ignore": [
"**/__tests__/**",
"*.test.js",
"*.spec.js",
"docs/*"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"dependencies": {
"@nicolo-ribaudo/chokidar-2": "*",
"apidoc": "^0.27.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"debug": "~2.6.9",
"dotenv-extended": "^2.9.0",
"express": "~4.16.1",
"faker": "^5.4.0",
"http-errors": "~1.6.3",
"joi": "^17.4.0",
"jsdoc": "^3.6.6",
"jsonwebtoken": "^8.5.1",
"mongoose": "^5.12.1",
"morgan": "~1.9.1",
"nodemailer": "^6.6.0",
"regenerator-runtime": "^0.13.7",
"swagger-editor": "^3.16.1",
"swagger2": "^3.0.0",
"winston": "^3.3.3"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"babel-eslint": "^10.1.0",
"babel-preset-env": "^1.7.0",
"eslint-config-prettier": "^8.1.0",
"http-server": "^0.12.3",
"husky": "^5.2.0",
"jest": "^26.6.3",
"nodemon": "^2.0.7",
"prettier": "2.2.1",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.2"
},
"apidoc": {
"name": "hotel-reservation-api",
"title": "Hotel-Reservation-Platform",
"url": "http://127.0.0.1:4000"
}
}