-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
105 lines (105 loc) · 3.24 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
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "hid-api",
"version": "5.3.14",
"description": "Humanitarian ID API+Auth",
"homepage": "https://about.humanitarian.id",
"repository": "https://github.com/UN-OCHA/hid-api.git",
"license": "Apache-2.0",
"author": {
"name": "UN OCHA",
"email": "[email protected]"
},
"keywords": [],
"main": "index.js",
"scripts": {
"css": "postcss assets/css/hid.css -o assets/css/hid.min.css",
"dev": "node ./node_modules/nodemon/bin/nodemon.js ./index.js -e html,css,js,ejs --ignore './_tests/' --ignore './commands/'",
"docs": "swagger-inline './api/**/*' --base 'docs/swaggerBase.yaml' > docs/hid.yml",
"start": "node ./index.js",
"lint": "eslint . && ejslint templates/* emails/*",
"e2e": "jest _tests/e2e/*.test.js -- -t '^(?!.*no-ci).*$'",
"test": "npm run lint && npm run unit",
"unit": "lab -l -t 0 -v _tests/unit/*.test.js",
"unit-report": "lab -l -t 0 -v _tests/unit/*.test.js -r html -o __coverage.html",
"release": "standard-version"
},
"dependencies": {
"@hapi/boom": "^10.0.1",
"@hapi/catbox": "^12.1.1",
"@hapi/catbox-redis": "^6.0.2",
"@hapi/crumb": "^9.0.1",
"@hapi/hapi": "^21.3.0",
"@hapi/hoek": "^11.0.2",
"@hapi/inert": "^7.0.1",
"@hapi/iron": "^7.0.1",
"@hapi/scooter": "^7.0.0",
"@hapi/vision": "^7.0.1",
"@hapi/yar": "github:un-ocha/yar#upstream-2023-04-05",
"accept-language": "^3.0.15",
"async": "^3.2.2",
"authenticator": "^1.1.2",
"bcryptjs": "^2.3.0",
"blankie": "^5.0.0",
"cracklib": "^1.1.0",
"ejs": "^3.1.10",
"email-templates": "^8.0.8",
"hapi-rate-limit": "^7.1.0",
"is-html": "^1.1.0",
"joi": "^17.5.0",
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"mongoose": "^8.9.5",
"mongoose-validator": "^2.1.0",
"node-fetch": ">=3.2.10",
"nodemailer": "^6.9.9",
"oauth2orize": "UN-OCHA/oauth2orize",
"oauth2orize-openid": "^0.4.0",
"qrcode": "^1.5.0",
"qs": "^6.8.3",
"recaptcha2": "^1.3.2",
"rsa-pem-to-jwk": "^1.1.3",
"swagger-ui-dist": "^4.1.3",
"validator": "^13.7.0",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.4.2",
"yargs": "^15.3.1"
},
"devDependencies": {
"@babel/preset-env": "^7.13.12",
"@hapi/code": "^9.0.3",
"@hapi/lab": "^25.1.2",
"acorn": "^5.7.4",
"axios": "^1.6.0",
"diff": ">=3.5.0",
"dot-prop": ">=4.2.1",
"ejs-lint": "^1.2.2",
"eslint": "^8.37.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-puppeteer": "^8.0.6",
"minimist": "^1.2.6",
"nodemon": "^3.0.1",
"postcss-cli": "^10.1.0",
"postcss-csso": "^6.0.1",
"postcss-import": "^15.1.0",
"postcss-nesting": "^12.1.1",
"standard-version": "^9.3.2",
"swagger-inline": "^3.0.4"
},
"engines": {
"node": "^18.20.4",
"npm": "^10.7.0"
},
"//": "To integrate with our release process, we instruct standard-version to skip creation of git tags, which we manage on GitHub.",
"standard-version": {
"skip": {
"tag": true
}
}
}