-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.63 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
{
"name": "my-movie-trip-backend-test",
"version": "1.0.0",
"description": "CRUD scenes via a REST API",
"main": "index.js",
"scripts": {
"start": "node src/index.js",
"dev": "env-cmd -f ./config/dev.env nodemon src/index.js",
"local": "env-cmd -f ./config/local.env nodemon src/index.js",
"test": "env-cmd -f ./config/test.env jest --watch --runInBand --detectOpenHandles"
},
"repository": {
"type": "git",
"url": "git+https://github.com/amda-phd/my-movie-trip-backend-test.git"
},
"keywords": [
"express",
"node",
"node.js",
"javascript",
"api",
"rest"
],
"author": "amda",
"license": "MIT",
"homepage": "https://github.com/amda-phd/my-movie-trip-backend-test#readme",
"devDependencies": {
"env-cmd": "^10.1.0",
"jest": "^26.6.3",
"module-alias": "^2.2.2",
"nodemon": "^2.0.7",
"supertest": "^6.1.3"
},
"dependencies": {
"errorhandler": "^1.5.1",
"express": "^4.17.1",
"express-joi-validation": "^5.0.0",
"joi": "^17.4.1",
"morgan": "^1.10.0",
"mysql2": "^2.2.5",
"sequelize": "^6.6.5"
},
"_moduleAliases": {
"Models": "src/models",
"Routers": "src/routers",
"Validators": "src/validators",
"@DB": "src/db/mysql.js",
"@app": "src/app.js"
},
"jest": {
"moduleNameMapper": {
"Models/(.*)": "<rootDir>/src/models/$1",
"Routers/(.*)": "<rootDir>/src/routers/$1",
"Validators/(.*)": "<rootDir>/src/validators/$1",
"@DB": "<rootDir>/src/db/mysql.js",
"@app": "<rootDir>/src/app.js",
"src/(.*)": "<rootDir>/src/$1",
"@fixturesDB": "<rootDir>/tests/fixtures/db.js"
}
}
}