-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
26 lines (26 loc) · 1.06 KB
/
package.json
File metadata and controls
26 lines (26 loc) · 1.06 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
{
"name": "template",
"description": "template",
"version": "0.0.1",
"private": true,
"devDependencies": {
"aws-sdk": "^2.799.0",
"@types/aws-lambda": "^8.10.51",
"@types/node": "^13.13.5",
"jest": "^26.6.3",
"ts-node": "^9.1.1",
"typescript": "^4.0.0"
},
"scripts": {
"compile": "tsc",
"deploy": "npm run compile && sam deploy",
"deploy:with-prune": "npm run compile && npm prune --production && sam deploy",
"destroy": "aws cloudformation delete-stack --stack-name sam-app-template --region us-east-1",
"test:unit": "npm run compile && jest --roots __tests__/unit",
"test:integration": "jest --roots __tests__/integration",
"invoke:put": "sam local invoke local-put --event ./events/event-put-item.json",
"invoke:getByID": "sam local invoke local-getByID --event ./events/event-get-by-id.json",
"invoke:getAll": "sam local invoke local-getAll --event ./events/event-get-all-items.json",
"local": "sam local start-api"
}
}