-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
68 lines (68 loc) · 1.76 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
{
"name": "reservac-api",
"version": "1.0.0",
"description": "backend del sistema de reserva del mac",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/PS1115-Skala/backend"
},
"scripts": {
"dev": "DEBUG=app:* nodemon --inspect=0.0.0.0 src/index",
"start": "NODE_ENV=production node src/index",
"test:integration": "mocha ./src/tests/**/*.test.js --exit",
"test:unit": "./node_modules/.bin/mocha **/__tests__/**/*.test.js --exit",
"test": "npm run test:unit && npm run test:integration",
"dtest": "docker-compose up -d postgresdb && docker-compose run --rm backend npm run test ; docker-compose down --volumes"
},
"keywords": [
"backend",
"api",
"reservations",
"js",
"ldac"
],
"author": "Jesus Kauze, Jose Barrera, Carlos Gonzales",
"license": "ISC",
"dependencies": {
"@hapi/boom": "^9.0.0",
"babel-eslint": "^10.1.0",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"isomorphic-fetch": "^3.0.0",
"joi": "^17.4.0",
"jsonwebtoken": "^8.5.1",
"moment": "^2.24.0",
"pg": "^7.18.2",
"set-interval-async": "1.0.30",
"swagger-jsdoc": "^4.0.0",
"swagger-ui-express": "^4.1.4"
},
"devDependencies": {
"chai": "^3.5.0",
"chai-http": "^4.3.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"fetch-mock": "^9.11.0",
"husky": "^4.2.3",
"lint-staged": "^10.0.7",
"mocha": "^8.1.1",
"nodemon": "^2.0.2",
"prettier": "^1.19.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --cache --fix",
"git-add"
]
}
}