-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
43 lines (43 loc) · 1.43 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
34
35
36
37
38
39
40
41
42
43
{
"name": "serverless-image-resizer",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"deploy": "serverless deploy",
"deploy:function": "serverless deploy function -f imageResizer",
"invoke": "serverless invoke -f imageResizer --path data/event.json",
"invoke:local": "yarn run webpack:invoke",
"lint": "yarn lint:table",
"lint:table": "eslint . --format table",
"lint:codeframe": "eslint . --format codeframe",
"lint:fix": "eslint . --fix",
"logs": "serverless logs -f imageResizer -t",
"upload_source_image": "aws s3 cp data/pastel_400x400.jpg s3://${SOURCE_S3_BUCKET_NAME}/${SOURCE_S3_PREFIX}/pastel_400x400.jpg",
"webpack:build": "serverless webpack --out .webpack",
"webpack:invoke": "serverless webpack invoke -f imageResizer --path data/event.json"
},
"dependencies": {
"aws-sdk": "^2.6.15",
"babel-polyfill": "^6.16.0",
"gm": "^1.23.0",
"ulid": "^0.1.0",
"webpack": "^2.2.1",
"webpack-node-externals": "^1.5.4"
},
"devDependencies": {
"babel-core": "^6.18.2",
"babel-loader": "^6.2.7",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-3": "^6.17.0",
"eslint": "^3.9.1",
"eslint-config-airbnb-base": "^10.0.1",
"eslint-plugin-import": "^2.2.0",
"serverless": "^1.1.0",
"serverless-s3-remover": "^0.2.0",
"serverless-webpack": "^2.0.0"
},
"keywords": [],
"author": "",
"license": "ISC"
}