-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.91 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
{
"name": "lambda-virus-scanner",
"version": "1.1.2",
"description": "A Lambda-based service to scan files for viruses, moving them into clean and quarantine S3 buckets",
"scripts": {
"env": "ENV=${ENV:-'development'} node scripts/envLoader.mjs",
"build": "tsc",
"tsc": "tsc",
"test": "env-cmd -f src/__tests__/setup/.test-env jest",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"dev": "npm run env && docker-compose -f docker-compose.dev.yml up --build",
"deploy": "npm run env && sls deploy --stage ${ENV:-'staging'} --param=\"provisionedConcurrency=${CONCURRENCY}\" --conceal",
"package": "npm run env && sls package --stage ${ENV:-'staging'} --param=\"provisionedConcurrency=${CONCURRENCY}\""
},
"author": "Open Government Products (https://open.gov.sg)",
"license": "MIT",
"dependencies": {
"@aws-sdk/client-s3": "^3.674.0",
"@aws-sdk/client-ssm": "^3.674.0",
"aws-lambda": "^1.0.7",
"aws-lambda-ric": "^3.2.1",
"axios": "^1.7.7",
"clamscan": "^2.3.1",
"convict": "^6.2.4",
"http-status-codes": "^2.3.0",
"pino": "^9.5.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.145",
"@types/clamscan": "^2.0.2",
"@types/convict": "^6.1.6",
"@types/jest": "^29.5.13",
"@types/node": "^22.7.6",
"@types/pino": "^7.0.5",
"@types/uuid": "^10.0.0",
"@types/watch": "^1.0.6",
"dotenv-cli": "^7.4.2",
"env-cmd": "^10.1.0",
"eslint": "^8.57.1",
"eslint-config-opengovsg": "^3.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.7.0",
"jest-extended": "^4.0.2",
"jest-localstorage-mock": "^2.4.26",
"jest-mock-axios": "^4.7.3",
"serverless": "^3.39.0",
"serverless-dotenv-plugin": "^6.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^8.2.0",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"type-fest": "^4.26.1",
"typescript": "^5.6.3"
}
}