ysugimoto/aws-lambda-image

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "aws-lambda-image",
  "version": "1.1.0",
  "description": "An AWS Lambda Function to resize/reduce images automatically",
  "config": {
    "profile": "default",
    "region": "ap-northeast-1",
    "memory": "1280",
    "timeout": "5",
    "name": "aws-lambda-image-with-dedicated-layer",
    "role": "lambda_basic_execution",
    "runtime": "nodejs10.x"
  },
  "scripts": {
    "postinstall": "[ -f config.json ] || cp config.json.sample config.json",
    "deploy": "$(node scripts/deploy-command.js)",
    "add-handler": "npm run add-s3-handler",
    "add-s3-handler": "claudia add-s3-event-source --profile $npm_package_config_profile --bucket $npm_config_s3_bucket --events s3:ObjectCreated:* --prefix $npm_config_s3_prefix --suffix $npm_config_s3_suffix",
    "add-sns-handler": "claudia add-sns-event-source --profile $npm_package_config_profile --topic $npm_config_sns_topic",
    "release": "claudia set-version --profile $npm_package_config_profile --version production",
    "update": "$(node scripts/update-command.js)",
    "test": "nyc ava",
    "test-config": "./bin/configtest",
    "test-lambda": "claudia test-lambda --profile $npm_package_config_profile --event $npm_config_event_file",
    "pretest": "npm run lint",
    "lint": "eslint .",
    "destroy": "AWS_PROFILE=$npm_package_config_profile claudia destroy --profile $npm_package_config_profile"
  },
  "keywords": [
    "aws",
    "lambda",
    "image"
  ],
  "author": {
    "name": "Yoshiaki Sugimoto",
    "email": "sugimoto@wnotes.net",
    "web": "https://github.com/ysugimoto"
  },
  "contributors": [
    {
      "name": "Shogo Sensui",
      "email": "shogo.sensui@gmail.com",
      "web": "https://github.com/1000ch"
    },
    {
      "name": "Kamil Dybicz",
      "email": "kamil.dybicz@gmail.com",
      "web": "https://github.com/kdybicz"
    }
  ],
  "license": "MIT",
  "dependencies": {
    "aws-sdk": "^2.24.0",
    "gm": "^1.23.0",
    "image-type": "^3.0.0",
    "path-template": "0.0.0"
  },
  "devDependencies": {
    "ava": "^2.0.0",
    "aws-sdk-mock": "^1.6.1",
    "babel-eslint": "^7.2.1",
    "bind-all": "^1.0.0",
    "claudia": "^5.0.1",
    "coveralls": "^3.0.2",
    "eslint": "^4.18.2",
    "nyc": "^14.1.1",
    "pify": "^2.3.0",
    "sinon": "^1.17.7"
  },
  "directories": {
    "test": "test"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/ysugimoto/aws-lambda-image.git"
  },
  "bugs": {
    "url": "https://github.com/ysugimoto/aws-lambda-image/issues"
  }
}