-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
38 lines (38 loc) · 1.21 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
{
"name": "@weareinreach/aws-messaging",
"version": "0.100.0",
"description": "Lambda for AWS Cognito messaging",
"license": "GPL-3.0-only",
"author": "",
"main": "dist/index.js",
"source": "src/index.ts",
"scripts": {
"build:aws": "pnpm clean:dist && pnpm bundle",
"bundle": "ncc build ./src/index.ts -s -a",
"clean:dist": "rm -fr dist && rm bundle.zip || true",
"clean:node": "rm -rf ./node_modules/ || true",
"deploy:aws": "sam deploy",
"deploy:aws:old": "aws lambda update-function-code --function-name cognito-messaging --zip-file fileb://bundle.zip",
"format": "prettier --cache --cache-strategy metadata --write --ignore-unknown .",
"preinstall": "npx only-allow pnpm",
"lint": "eslint --cache .",
"lint:fix": "eslint --cache --fix .",
"package": "cd dist && zip -r ../bundle.zip *"
},
"dependencies": {
"@aws-lambda-powertools/logger": "1.8.0"
},
"devDependencies": {
"@types/aws-lambda": "8.10.115",
"@types/eslint": "8.37.0",
"@types/node": "18.16.10",
"@types/prettier": "2.7.2",
"@vercel/ncc": "0.36.1",
"@weareinreach/config": "0.100.0",
"@weareinreach/eslint-config": "0.100.0",
"aws-lambda": "1.0.7",
"eslint": "8.40.0",
"prettier": "2.8.8",
"typescript": "5.0.4"
}
}