-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.58 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
{
"name": "bucket-to-indexer",
"version": "0.1.0",
"description": "Converts trigger from S3 to a message to send to indexer SQS",
"author": "Francisco Ferreira Cardoso <[email protected]>",
"license": "(Apache-2.0 AND MIT)",
"private": true,
"scripts": {
"format": "prettier -w src",
"lint": "eslint src",
"build": "bash scripts/build.sh",
"test": "c8 --reporter=text --reporter=html tap --rcfile=test/utils/config.yml",
"test:ci": "c8 --reporter=text --reporter=json --check-coverage --branches 90 --functions 90 --lines 90 --statements 90 tap --rcfile=test/utils/config.yml",
"deploy": "aws lambda update-function-code --cli-connect-timeout 15000 --region $AWS_REGION --function-name $LAMBDA --image $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/$AWS_ECR_REPOSITORY:latest",
"invoke": "aws lambda invoke --cli-binary-format raw-in-base64-out --region $AWS_REGION --function-name $LAMBDA --payload file://event.json --log-type Tail /dev/null | jq -r .LogResult | base64 -d"
},
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.137.0",
"@aws-sdk/client-s3": "^3.137.0",
"@aws-sdk/client-sns": "^3.137.0",
"@aws-sdk/client-sqs": "^3.137.0",
"aws-sdk-client-mock": "^1.0.0",
"dotenv": "^16.0.1",
"pino": "^7.2.0"
},
"devDependencies": {
"aws-lambda": "^1.0.7",
"c8": "^7.11.0",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1",
"pino-pretty": "^7.2.0",
"tap": "^15.1.6"
}
}