Skip to content

Commit 36cf3d5

Browse files
committed
Add package.json for TypeScript function example
1 parent ae661fb commit 36cf3d5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "lambda-typescript-layer-example",
3+
"version": "1.0.0",
4+
"main": "dist/index.js",
5+
"scripts": {
6+
"prebuild": "rm -rf dist",
7+
"build": "tsc index.ts --module nodenext --lib es2020 --outDir dist/",
8+
"postbuild": "cd dist && zip -r index.zip index.js",
9+
"test": "echo \"Error: no test specified\" && exit 1"
10+
},
11+
"author": "",
12+
"license": "MIT-0",
13+
"description": "",
14+
"devDependencies": {
15+
"@types/aws-lambda": "^8.10.145",
16+
"@types/lodash": "^4.17.9",
17+
"lodash": "^4.17.21",
18+
"typescript": "^5.6.2"
19+
}
20+
}

0 commit comments

Comments
 (0)