-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
27 lines (27 loc) · 1.17 KB
/
package.json
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
{
"name": "lambda-dynamo-demo-2",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"lint": "eslint src",
"create-bucket": "aws s3api create-bucket --bucket lambda-dynamo-demo-2 --region ap-southeast-2 --create-bucket-configuration LocationConstraint=ap-southeast-2",
"build": "rm -rf dist && babel src -d dist --ignore '**/*.spec.js' && cp package.json dist && yarn install --cwd dist --production --no-lockfile",
"package": "aws cloudformation package --template-file template.yaml --s3-bucket lambda-dynamo-demo-2 --output-template-file packaged-template.yaml",
"deploy": "aws cloudformation deploy --template-file packaged-template.yaml --stack-name lambda-dynamo-demo-2 --capabilities CAPABILITY_IAM",
"build-package-deploy": "yarn run build && yarn run package && yarn run deploy"
},
"author": "Eli Mydlarz",
"license": "ISC",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"eslint": "^4.17.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0"
},
"dependencies": {
"aws-sdk": "^2.224.1"
}
}