-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
53 lines (53 loc) · 2.04 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
{
"name": "indexing-lambda",
"version": "0.3.2",
"description": "Elastic IPFS Indexing Lambda",
"homepage": "https://github.com/elastic-ipfs/indexing-lambda",
"repository": "github:web3-storage/indexing-lambda",
"author": "Paolo Insogna <[email protected]>",
"license": "(Apache-2.0 AND MIT)",
"private": true,
"scripts": {
"format": "prettier -w src",
"lint": "eslint src test",
"build": "bash scripts/build.sh",
"test": "c8 --reporter=text --reporter=html 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:$DOCKER_IMAGE_VERSION",
"test:ci": "npm run lint && c8 --reporter=text --reporter=json --check-coverage --branches 90 --functions 90 --lines 90 --statements 90 tap --rcfile=test/utils/config.yml",
"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.188.0",
"@aws-sdk/client-s3": "3.188.0",
"@aws-sdk/client-sns": "3.188.0",
"@aws-sdk/client-sqs": "3.188.0",
"@aws-sdk/util-dynamodb": "3.188.0",
"@ipld/car": "4.1.6",
"@ipld/dag-cbor": "7.0.3",
"@ipld/dag-pb": "2.1.18",
"@web3-storage/car-block-validator": "^1.0.1",
"dag-jose": "1.0.0",
"dotenv": "16.0.3",
"hdr-histogram-js": "3.0.0",
"ipfs-unixfs": "6.0.9",
"js-yaml": "4.1.0",
"multiformats": "9.9.0",
"pino": "8.6.1"
},
"devDependencies": {
"aws-sdk-client-mock": "2.0.0",
"c8": "7.12.0",
"eslint": "8.25.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.0",
"pino-pretty": "9.1.1",
"prettier": "2.7.1",
"tap": "16.3.0",
"uint8arrays": "3.1.1"
},
"engines": {
"node": "16"
}
}