-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.59 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.59 KB
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
{
"name": "ts-lambda-example",
"version": "1.0.0",
"description": "Lambda ts sample",
"scripts": {
"dev": "nodemon -x npm run dev:start",
"clean": "rm -rf build layer/nodejs",
"clean:install": "npm ci",
"type-check": "tsc --noEmit",
"prebuild": "npm run clean && npm run clean:install && npm run type-check",
"build": "esbuild src/index.ts --minify --bundle --sourcemap --platform=node --target=es2022 --outfile=build/index.js && npm run build:layer",
"build:layer": "cd layer && npm ci && mkdir -p nodejs && cp -R node_modules nodejs/",
"postbuild": "npm run zip:lambda && npm run zip:layer",
"zip:lambda": "zip -r lambda.zip ./build",
"zip:layer": "zip -r nodejs.zip ./layer/nodejs",
"test": "jest --silent --no-cache --runInBand --passWithNoTests",
"test:cov": "npm run test -- --coverage",
"lint": "eslint --fix --ext .ts,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts src"
},
"devDependencies": {
"@eslint/js": "^9.27.0",
"@jest/globals": "^29.7.0",
"@stylistic/eslint-plugin": "^4.4.0",
"@types/aws-lambda": "^8.10.119",
"@types/node": "^20.2.5",
"@types/pg": "^8.10.2",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"adm-zip": "^0.5.10",
"esbuild": "^0.25.12",
"eslint": "^9.27.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"nodemon": "^3.0.1",
"prettier": "^3.0.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.1.3"
}
}