forked from covidgreen/covid-green-lambdas
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.34 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 2.34 KB
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": "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.4.0",
"archiver": "^4.0.1",
"aws-sdk": "^2.646.0",
"flat": "^5.0.0",
"jsonwebtoken": "^8.5.1",
"jsrsasign": "^9.1.9",
"node-fetch": "^2.6.0",
"node-jose": "^1.1.4",
"pg": "^8.3.0",
"pg-range": "^1.1.0",
"protobufjs": "^6.9.0"
},
"devDependencies": {
"env-cmd": "^10.1.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-prettier-standard": "^3.0.1",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"lint-staged": "^8.1.4",
"npm-run-all": "^4.1.5",
"pino-pretty": "^3.5.0",
"prettier": "^1.19.1",
"prettier-config-standard": "^1.0.1"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"prettier": "prettier-config-standard"
}