-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 764 Bytes
/
package.json
File metadata and controls
22 lines (22 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "ts-lambda-template",
"version": "1.0.0",
"description": "Typescript lambda template with esbuild for bundling dependencies.",
"scripts": {
"build": "esbuild src/index.ts --bundle --sourcemap --platform=node --target=es2020 --outfile=dist/index.js && pnpm bundle",
"bundle": "cd dist && zip -r index.zip index.js*",
"build:watch": "esbuild src/index.ts --bundle --sourcemap --platform=node --target=es2020 --outfile=dist/index.js --watch",
"format": "prettier --write ."
},
"main": "dist/index.js",
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/aws-lambda": "^8.10.109",
"esbuild": "^0.16.12",
"lefthook": "^1.2.6",
"prettier": "^2.8.1",
"typescript": "^4.9.4"
}
}