UNPKG

serverless-aws-static-file-handler

Version:

Easily serve static files with the Serverless Framework on AWS Lambda.

61 lines (60 loc) 1.74 kB
{ "name": "serverless-aws-static-file-handler", "description": "Easily serve static files with the Serverless Framework on AWS Lambda.", "homepage": "https://github.com/activescott/serverless-aws-static-file-handler#readme", "version": "5.0.0", "main": "src/StaticFileHandler.js", "author": { "name": "Scott Willeke", "email": "scott@willeke.com", "url": "https://scott.willeke.com/" }, "repository": { "type": "git", "url": "git+https://github.com/activescott/serverless-aws-static-file-handler.git" }, "bugs": { "url": "https://github.com/activescott/serverless-aws-static-file-handler/issues" }, "keywords": [ "aws-lambda", "binary", "nodejs", "serverless", "serverless-architectures", "serverless-framework", "serverless-functions" ], "dependencies": { "mime-types": "^2.1.21", "mustache": "^4.0.0" }, "devDependencies": { "chai": "^4.1.2", "chai-as-promised": "^7.1.1", "husky": "^7.0.0", "js-yaml": "^4.0.0", "mocha": "^11.1.0", "nyc": "^15.0.0", "prettier": "^2.0.0", "serverless": "^3.37.0", "sinon": "^11.1.2" }, "engines": { "node": ">=20" }, "files": [ "src/error.html", "src/plugins/BinaryMediaTypes.js", "src/StaticFileHandler.js", "plugins/BinaryMediaTypes.js" ], "scripts": { "test": "nyc ./node_modules/.bin/mocha './src/test/*.js'", "pretest": "npm run lint && npm version --allow-same-version --no-git-tag-version 0.0.0 && npm pack", "lint": "[ \"$CI_NODE_VERSION\" = \"8\" ] || prettier -l \"**/*.{js,md,yml,json,html}\"", "lint-fix": "prettier --write \"**/*.{js,md,yml,yaml,json,html}\"", "prepare": "husky install" }, "license": "MIT" }