/
package.json
36 lines (36 loc) · 1.18 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
{
"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": {
"build:aws": "pnpm clean:dist && pnpm bundle && pnpm package",
"bundle": "ncc build ./src/index.ts -s -m -a",
"clean:dist": "rm -fr dist",
"clean:node": "rm -rf ./node_modules/ || true",
"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 && rm -v client/!(*rhel*) && zip -r bundle.zip *",
"upload": "aws lambda update-function-code --function-name user-migrate --zip-file fileb://dist/bundle.zip"
},
"dependencies": {
"@weareinreach/db": "0.100.0",
"aws-sdk": "2.1289.0"
},
"devDependencies": {
"@types/aws-lambda": "8.10.109",
"@types/node": "16.18.11",
"@vercel/ncc": "0.36.0",
"@weareinreach/config": "0.100.0",
"@weareinreach/eslint-config": "0.100.0",
"aws-lambda": "1.0.7",
"eslint": "8.31.0",
"prettier": "2.8.1",
"typescript": "4.9.4"
}
}