-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
53 lines (53 loc) · 2 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": "publishing-lambda",
"version": "1.0.0",
"description": "Elastic IPFS Publishing Lambda",
"homepage": "https://github.com/elastic-ipfs/publishing-lambda",
"repository": "github:web3-storage/publishing-lambda",
"author": "Paolo Insogna <paolo.insogna@nearform.com>",
"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:$DOCKER_IMAGE_VERSION",
"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-s3": "^3.49.0",
"@aws-sdk/client-sqs": "^3.42.0",
"@ipld/dag-cbor": "^7.0.3",
"@ipld/dag-json": "^8.0.11",
"@libp2p/peer-id-factory": "^2.0.3",
"@web3-storage/ipni": "^3.0.0",
"bl": "^5.0.0",
"dotenv": "^10.0.0",
"hdr-histogram-js": "^3.0.0",
"js-yaml": "^4.1.0",
"libp2p-crypto": "^0.21.2",
"multiaddr": "^10.0.1",
"multiformats": "^9.6.1",
"peer-id": "^0.16.0",
"pino": "^7.2.0",
"undici": "^4.13.0"
},
"devDependencies": {
"aws-sdk-client-mock": "^0.5.6",
"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.5.1",
"prettier": "^2.4.1",
"tap": "^15.1.6",
"varint": "^6.0.0"
},
"engines": {
"node": ">=14.15.0"
}
}