-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
63 lines (63 loc) · 2.41 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
{
"name": "contact-tracing-lambda",
"version": "1.0.0",
"private": true,
"description": "Common lambda functions for contact tracing",
"scripts": {
"artifact:create": "zip -r lambdas.zip *",
"create:env": "node -r fs -e \"fs.copyFileSync('.env.sample', '.env', fs.constants.COPYFILE_EXCL)\"",
"test:cleanup": "env-cmd -f .env node cleanup.js",
"test:exposures": "env-cmd -f .env node exposures.js",
"test:settings": "env-cmd -f .env node settings.js",
"test:authorizer": "env-cmd -f .env node authorizer.js \"{ \\\"authorizationToken\\\": \\\"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6InNvbWVfaWQiLCJpYXQiOjE1OTc3MTU0NzF9.fk8-_-XrZulUvphLZuidsPeu4CDbS7jzlk9OZWw4yls\\\" }\"",
"test:download": "env-cmd -f .env node download.js",
"test:upload": "env-cmd -f .env node upload.js",
"test:token:metrics": "env-cmd -f .env node token.js \"{ \\\"type\\\": \\\"metrics\\\", \\\"description\\\": \\\"Manual token\\\" }\"",
"test:token:push": "env-cmd -f .env node token.js \"{ \\\"type\\\": \\\"push\\\", \\\"description\\\": \\\"Manual token\\\" }\"",
"test:token:register": "env-cmd -f .env node token.js \"{ \\\"type\\\": \\\"register\\\", \\\"description\\\": \\\"Manual token\\\" }\"",
"test": "npm-run-all test:*",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:staged": "lint-staged"
},
"dependencies": {
"@nearform/sql": "^1.5.0",
"archiver": "^5.2.0",
"aws-sdk": "^2.873.0",
"axios": "^0.21.1",
"date-fns": "^2.19.0",
"date-fns-tz": "^1.1.3",
"flat": "^5.0.2",
"jsonwebtoken": "^8.5.1",
"jsrsasign": "^9.1.9",
"node-fetch": "^2.6.1",
"node-jose": "^2.0.0",
"pg": "^8.5.1",
"pg-range": "^1.1.0",
"protobufjs": "^6.10.2"
},
"devDependencies": {
"env-cmd": "^10.1.0",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-prettier-standard": "^4.0.1",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^5.0.0",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"pino-pretty": "^4.7.1",
"prettier": "^2.2.1",
"prettier-config-standard": "^4.0.0"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
]
},
"prettier": "prettier-config-standard"
}