-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 3 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
89
90
91
92
93
{
"name": "yggdrasil",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "./start-dev",
"test": "npm run test:lint && npm run test:unit && [ -f /run.sh ] && npm run test:functional || docker exec -ti backend bash -c 'cd /var/app && npm run test:functional' && npm run coverage-combine",
"test:lint": "eslint --max-warnings=0 ./lib ./yggdrasil.js ./features",
"lint:fix": "eslint --fix --max-warnings=0 ./lib ./yggdrasil.js ./features",
"test:unit": "nyc --temp-directory ./.nyc_output --report-dir coverage --reporter=text-summary --reporter=lcov mocha && npm run unit:coverage-summary",
"test:functional": "./features/run.sh && npm run func:coverage-summary",
"test:func": "docker exec -ti backend bash -c 'cd /var/app && npm run test:functional'",
"unit:coverage-summary": "ci/coverage-summary > coverage/coverage.txt",
"func:coverage-summary": "ci/func.coverage-summary > coverage.functional/coverage.txt",
"coverage-combine": "cat coverage/coverage.txt > coverage/coverage.combined.txt && cat coverage.functional/coverage.txt >> coverage/coverage.combined.txt"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"postcommit": "git update-index --again"
}
},
"lint-staged": {
"*.js": [
"eslint --fix --max-warnings=0 ./lib ./yggdrasil.js ./features",
"git add"
]
},
"_moduleAliases": {
"@lib": "lib",
"@utils": "lib/utils",
"@models": "lib/models",
"@repositories": "lib/models/repositories",
"@root": "./",
"@unitTests": "unitTests/helpers"
},
"dependencies": {
"@azure/msal-node": "^1.14.0",
"axios": "^0.24.0",
"bcryptjs": "^2.4.3",
"bluebird": "^3.7.2",
"body-parser": "^1.19.1",
"cookie-parser": "^1.4.6",
"dot-object": "^2.1.4",
"express": "^4.17.2",
"express-fileupload": "^1.2.1",
"express-jwt": "^6.1.0",
"express-winston": "^4.2.0",
"generate-password": "^1.7.0",
"helmet": "^4.6.0",
"ical-toolkit": "^1.0.9",
"ioredis": "^4.28.2",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"lorem-ipsum": "^2.0.4",
"mime-to-extensions": "^1.0.2",
"moment": "^2.29.4",
"mongodb": "^4.9.1",
"morgan": "^1.10.0",
"nodemailer": "^6.7.2",
"passport": "^0.5.2",
"passport-facebook": "^3.0.0",
"passport-github": "^1.1.0",
"passport-google-oauth2": "^0.2.0",
"rc": "^1.2.8",
"serve-favicon": "^2.5.0",
"socket.io": "^4.5.2",
"socketio-jwt": "^4.6.2",
"twittersignin": "^1.2.0",
"unzipper": "^0.10.11",
"uuid": "^8.3.2",
"winston": "^3.8.2"
},
"devDependencies": {
"@cucumber/cucumber": "^7.3.1",
"eslint": "^8.6.0",
"eslint-plugin-mocha": "^10.0.3",
"husky": "^7.0.4",
"json5": "^2.2.0",
"lint-staged": "^12.1.4",
"mocha": "^9.1.3",
"module-alias": "^2.2.2",
"nyc": "^15.1.0",
"rewire": "^6.0.0",
"should": "^13.2.3",
"should-sinon": "^0.0.6",
"sinon": "^12.0.1",
"socket.io-client": "^4.4.0"
},
"engines": {
"node": ">=14"
}
}