UNPKG

@lambda-middleware/compose

Version:

A compose function for functional lambda middleware.

88 lines (87 loc) 2.59 kB
{ "name": "@lambda-middleware/compose", "version": "1.2.0", "description": "A compose function for functional lambda middleware.", "homepage": "https://dbartholomae.github.io/lambda-middleware/", "license": "MIT", "author": { "name": "Daniel Bartholomae", "email": "daniel@bartholomae.name", "url": "" }, "files": [ "lib" ], "main": "lib/index.js", "keywords": [ "aws", "lambda", "middleware", "error", "http", "json" ], "types": "lib/index.d.ts", "engines": { "npm": ">= 4.0.0" }, "private": false, "directories": { "example": "examples" }, "scripts": { "build": "rimraf ./lib && tsc --project tsconfig.build.json", "lint": "eslint src/**/*.ts examples/**/*.ts", "pretest": "npm run build", "start": "cd test && serverless offline", "test": "npm run lint && npm run test:unit && npm run test:integration && pkg-ok", "test:integration": "concurrently --timeout 600000 --kill-others --success first \"cd test && serverless offline\" \"wait-on http://localhost:3000/dev/status && jest -c jest.integration.config.js\"", "test:unit": "jest" }, "dependencies": { "tslib": "^2.0.1" }, "devDependencies": { "@lambda-middleware/utils": "^1.0.3", "@semantic-release/changelog": "^3.0.2", "@semantic-release/commit-analyzer": "^6.1.0", "@semantic-release/git": "^7.0.8", "@semantic-release/npm": "^5.1.4", "@semantic-release/release-notes-generator": "^7.1.4", "@types/jest": "^25.2.1", "@types/supertest": "^2.0.8", "@types/aws-lambda": "^8.10.47", "@typescript-eslint/parser": "^2.26.0", "@typescript-eslint/eslint-plugin": "^2.26.0", "aws-lambda": "^1.0.5", "codecov": "^3.2.0", "concurrently": "^5.1.0", "cross-env": "^6.0.0", "eslint": "^6.8.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-prettier": "^3.1.2", "http-errors": "^1.7.3", "jest": "^25.2.7", "jest-junit": "^10.0.0", "pkg-ok": "^2.3.1", "prettier": "^2.0.2", "prettier-config-standard": "^1.0.1", "rimraf": "^3.0.2", "semantic-release": "^15.13.3", "serverless": "^1.67.0", "serverless-offline": "^6.1.4", "serverless-webpack": "^5.3.1", "source-map-support": "^0.5.16", "supertest": "^4.0.2", "ts-jest": "^25.3.1", "ts-loader": "^6.2.2", "typescript": "^4.0.3", "wait-on": "^5.2.0", "webpack": "^4.41.5" }, "repository": { "type": "git", "url": "git@github.com:dbartholomae/lambda-middleware.git", "directory": "packages/compose" } }