-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
42 lines (42 loc) · 1.41 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
{
"name": "@weareinreach/aws-user-migrate",
"version": "0.100.0",
"description": "Lambda to gradually migrate existing users to AWS Cognito",
"license": "GPL-3.0-only",
"author": "",
"main": "dist/index.js",
"source": "src/index.ts",
"scripts": {
"aws:db:generate": "prisma generate --schema ../db/prisma/schema.prisma --data-proxy",
"build:aws": "./build.sh",
"bundle": "ncc build ./src/index.ts -s -a -d",
"clean:dist": "rm -fr dist",
"clean:node": "rm -rf ./node_modules/ || true",
"deploy:aws": "aws lambda update-function-code --function-name user-migrate --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 *",
"prune-clients": "find ./dist/client -type f -not -name '*rhel*' -delete -print"
},
"dependencies": {
"@aws-lambda-powertools/logger": "1.7.0",
"@prisma/client": "4.12.0",
"@weareinreach/db": "0.100.0"
},
"devDependencies": {
"@types/aws-lambda": "8.10.114",
"@types/eslint": "8.37.0",
"@types/node": "18.15.11",
"@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.37.0",
"prettier": "2.8.7",
"prisma": "4.12.0",
"typescript": "5.0.2"
}
}