-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 1.02 KB
/
Copy pathpackage.json
File metadata and controls
31 lines (31 loc) · 1.02 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
{
"name": "example-lambda",
"version": "0.1.1",
"description": "An example lambda to test CI/CD stuff",
"main": "index.js",
"repository": "git@github.com:keymux/example-lambda.git",
"author": "Henry <hankbrown@gmail.com>",
"license": "MIT",
"private": true,
"scripts": {
"setup": "npm run yarn:install && yarn install-sam-local && yarn set-null-aws-credentials",
"yarn:install": "npm install -g yarn",
"install-sam-local": "npm install -g aws-sam-local # have to use npm here",
"set-null-aws-credentials": "mkdir -p ~/.aws/ && cp files/credentials ~/.aws/credentials",
"start": "sam local start-api --host=0.0.0.0",
"test": "yarn test:lint && yarn test:unit",
"test:lint": "eslint .",
"test:unit": "mocha test/*.js"
},
"dependencies": {},
"devDependencies": {
"chai": "^4.1.2",
"eslint": "^4.16.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.5.0",
"mocha": "^5.0.0",
"prettier": "^1.10.2",
"sinon": "^4.1.6",
"spy": "^1.0.0"
}
}