forked from cagataygurturk/image-resizer-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
33 lines (33 loc) · 1.27 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
28
29
30
31
32
33
{
"name": "image-resize-service",
"version": "0.1.3",
"description": "Serverless services that resizes an image stored in S3 bucket",
"main": "src/index.js",
"scripts": {
"build": "webpack",
"package": "npm run build && aws cloudformation package --template-file template.yaml --output-template-file dist/template-packaged.yml --s3-bucket $CODE_BUCKET",
"install-cf": "aws cloudformation deploy --template-file dist/template-packaged.yml --capabilities CAPABILITY_IAM --stack-name image-resizer-rest-api --parameter-overrides ImageBucket=$IMAGE_BUCKET ImageMagickLayer=arn:aws:lambda:eu-west-1:526515951862:layer:image-magick:1 --region eu-west-1",
"deploy": "npm run package && npm run install-cf",
"test": "jest"
},
"repository": "https://github.com/cagataygurturk/serverless-image-resizer",
"author": "Cagatay Gurturk <[email protected]>",
"license": "MIT",
"devDependencies": {
"aws-lambda-test-utils": "^1.3.0",
"is-base64": "0.0.6",
"jest": "^23.5.0",
"json-loader": "^0.5.7",
"webpack": "^4.46.0",
"webpack-cli": "^4.7.0",
"webpack-zip-files-plugin": "^1.0.0"
},
"dependencies": {
"aws-sdk": "2.880.0",
"imagemagick": "^0.1.3"
},
"jest": {
"testEnvironment": "node",
"testRegex": ".test\\.js$"
}
}