-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.45 KB
/
Copy pathpackage.json
File metadata and controls
41 lines (41 loc) · 1.45 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
{
"name": "sam-lambda-typescript-tutorial",
"version": "1.0.0",
"description": "sam-lambda-typescript-tutorial",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rm -r ./build && npx tsc",
"start": "sam local start-api",
"package": "rm -rf build artifact.zip && npx tsc && rm -rf ./node_modules && npm i --production && zip -r artifact.zip build node_modules -i '*.js' '*.json' '**/bin/*' '**/.bin/*' && npm i",
"debug:Users": "sam local generate-event api -m PUT -p /users/55 -r /users/{userId} -b '{\"message\": \"test post message\"}' | sam local invoke -d 5858 Users",
"debug:Users2": "npx tsc && sam local invoke -e event/get.json -d 5858 Users",
"debug": "rm -rf ./build && npx tsc && sam local invoke -e event/get.json -d 5858 Test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rema424/sam-lambda-typescript-tutorial.git"
},
"keywords": [
"aws",
"aws sam",
"lambda",
"api gateway",
"dynamoDB",
"typescript",
"clean architecture"
],
"author": "rema424",
"license": "ISC",
"bugs": {
"url": "https://github.com/rema424/sam-lambda-typescript-tutorial/issues"
},
"homepage": "https://github.com/rema424/sam-lambda-typescript-tutorial#readme",
"devDependencies": {
"@types/aws-lambda": "^8.10.15",
"@types/node": "^10.12.9",
"typescript": "^3.1.6",
"aws-sdk": "^2.358.0"
},
"dependencies": {}
}