-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·39 lines (39 loc) · 1.99 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
{
"name": "jane-handlers",
"description": "jane-handlers",
"private": true,
"type": "module",
"devDependencies": {
"esbuild": "^0.17.5",
"jest": "^29.2.1"
},
"scripts": {
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"build": "npm run clean && npm run make:dist && npm run compile:migration-lambda && npm run compile:post-confirmation-lambda && npm run compile:pre-signup-lambda && npm run zip",
"clean": "rm -rf dist",
"make:dist": "mkdir -p dist/migration-lambda && mkdir -p dist/post-confirmation-lambda && mkdir -p dist/pre-signup-lambda",
"compile:migration-lambda": "npm run make:dist && esbuild examples/javascript/src/migration-lambda/index.mjs --platform=node --target=es2020 --bundle --minify --outfile=dist/migration-lambda/index.js",
"compile:post-confirmation-lambda": "npm run make:dist && esbuild examples/javascript/src/post-confirmation-lambda/index.mjs --platform=node --target=es2020 --bundle --minify --outfile=dist/post-confirmation-lambda/index.js",
"compile:pre-signup-lambda": "npm run make:dist && esbuild examples/javascript/src/pre-signup-lambda/index.mjs --platform=node --target=es2020 --bundle --minify --outfile=dist/pre-signup-lambda/index.js",
"zip:migration-lambda": "cd dist/migration-lambda && zip -r ../migrateUserHandler.zip .",
"zip:post-confirmation-lambda": "cd dist/post-confirmation-lambda && zip -r ../postConfirmationHandler.zip .",
"zip:pre-signup-lambda": "cd dist/pre-signup-lambda && zip -r ../preSignUpHandler.zip .",
"zip": "npm run zip:migration-lambda && npm run zip:post-confirmation-lambda && npm run zip:pre-signup-lambda"
},
"jest": {
"testMatch": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[jt]s?(x)",
"**/__tests__/**/*.mjs?(x)",
"**/?(*.)+(spec|test).mjs?(x)"
],
"moduleFileExtensions": [
"mjs",
"js"
]
},
"dependencies": {
"@aws-sdk/client-cognito-identity-provider": "^3.428.0",
"axios": "^1.2.6"
}
}