forked from digital-peaks/web-aoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 1.92 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
{
"name": "digital-peaks-web-aoa-api",
"version": "1.0.0",
"description": "",
"main": "src/server.js",
"scripts": {
"start": "nodemon --ignore r/ --ignore jobs/ src/index.js",
"start:prod": "node src/index.js",
"test:unit": "jest",
"lint": "eslint src"
},
"dependencies": {
"bcrypt": "^5.0.1",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"date-fns": "^2.27.0",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-async-handler": "^1.2.0",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.0.13",
"multer": "^1.4.4",
"passport": "^0.5.2",
"passport-jwt": "^4.0.0",
"swagger-jsdoc": "^6.1.0",
"swagger-ui-express": "^4.2.0",
"validator": "^13.7.0",
"winston": "^3.3.3"
},
"devDependencies": {
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-security": "^1.4.0",
"jest": "^27.3.1",
"nodemon": "^2.0.15",
"prettier": "^2.4.1"
},
"eslintConfig": {
"env": {
"node": true,
"jest": true
},
"extends": [
"airbnb-base",
"plugin:jest/recommended",
"plugin:security/recommended",
"plugin:prettier/recommended"
],
"plugins": [
"jest",
"security",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"camelcase": "off",
"no-console": "error",
"func-names": "off",
"no-underscore-dangle": "off",
"consistent-return": "off",
"jest/expect-expect": "off",
"security/detect-object-injection": "off",
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}
},
"jest": {
"rootDir": "src",
"testEnvironment": "node",
"coverageDirectory": "../coverage_api"
}
}