simple-lambda-client
Version:
A simple, convenient way to invoke aws lambda functions with best practices.
91 lines (90 loc) • 3.58 kB
JSON
{
"name": "simple-lambda-client",
"author": "ehmpathy",
"description": "A simple, convenient way to invoke aws lambda functions with best practices.",
"version": "2.3.5",
"repository": "ehmpathy/simple-lambda-client",
"homepage": "https://github.com/ehmpathy/simple-lambda-client",
"keywords": [
"aws",
"lambda",
"api",
"client",
"serverless",
"typescript"
],
"bugs": "https://github.com/ehmpathy/simple-lambda-client/issues",
"license": "MIT",
"main": "dist/index.js",
"engines": {
"node": ">=8.0.0"
},
"files": [
"/dist"
],
"scripts": {
"build:ts": "tsc -p ./tsconfig.build.json",
"commit:with-cli": "npx cz",
"fix:format:biome": "biome check --write src",
"fix:format": "npm run fix:format:biome",
"fix:lint": "biome check --write src",
"build:clean": "rm dist/ -rf",
"build:compile": "tsc -p ./tsconfig.build.json",
"build": "npm run build:clean && npm run build:compile",
"test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose",
"test:types": "tsc -p ./tsconfig.json --noEmit",
"test:format": "npm run test:format:biome",
"test:lint:deps": "npx depcheck -c ./.depcheckrc.yml",
"test:format:biome": "biome format src",
"test:lint:biome": "biome check src",
"test:lint": "npm run test:lint:biome && npm run test:lint:deps",
"test:unit": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main')",
"test:integration": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main')",
"test:acceptance:locally": "npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests",
"test": "npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
"test:acceptance": "npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests",
"prepush": "npm run test && npm run build",
"prepublish": "npm run build",
"preversion": "npm run prepush",
"postversion": "git push origin HEAD --tags --no-verify",
"prepare:husky": "npx husky install && chmod ug+x .husky/*",
"prepare": "[ -d .git ] && npm run prepare:husky || exit 0"
},
"dependencies": {
"aws-sdk": "^2.1426.0",
"domain-objects": "0.31.0",
"hash-fns": "^1.1.0",
"helpful-errors": "1.5.3",
"simple-in-memory-cache": "^0.4.0",
"with-simple-cache": "^0.15.1"
},
"devDependencies": {
"@biomejs/biome": "2.3.8",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "13.1.0",
"@swc/core": "1.15.3",
"@swc/jest": "0.2.39",
"@tsconfig/node20": "20.1.5",
"@tsconfig/strictest": "2.0.5",
"@types/aws-sdk": "^2.7.0",
"@types/jest": "30.0.0",
"cz-conventional-changelog": "3.3.0",
"declapract": "^0.12.3",
"declapract-typescript-ehmpathy": "^0.43.0",
"declastruct": "1.4.0",
"declastruct-github": "1.0.3",
"depcheck": "1.4.3",
"dotenv": "^16.6.1",
"esbuild-register": "3.6.0",
"husky": "8.0.3",
"jest": "30.2.0",
"tsx": "4.20.6",
"typescript": "5.4.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"packageManager": "pnpm@10.24.0"
}