UNPKG

lambda-tdd

Version:
93 lines (92 loc) 2.53 kB
{ "name": "lambda-tdd", "type": "module", "version": "9.0.1", "description": "Test Framework for AWS Lambda", "main": "lib/index.js", "scripts": { "clean": "rm -rf lib", "build": "cp -rf ./src ./lib", "build-clean": "yarn run clean && yarn run build", "test-simple": "c8 mocha --import=./test/reg.js \"./test/**/*.spec.js\"", "test": "yarn run clean && yarn run gardener && yarn run test-simple", "semantic-release": "yarn run build-clean && yarn exec semantic-release", "gardener": "node gardener.js", "docker": "docker run --net host -u`id -u`:`id -g` -v $(pwd):/user/project -v ~/.aws:/user/.aws -v ~/.npmrc:/user/.npmrc -w /user/project -it --entrypoint /bin/bash", "t": "yarn test", "ts": "yarn run test-simple", "tsv": "yarn run test-simple --verbose", "u": "yarn upgrade --latest --force", "i": "yarn install --frozen-lockfile", "it": "yarn run i && yarn run t" }, "repository": { "type": "git", "url": "https://github.com/blackflux/lambda-tdd.git" }, "keywords": [ "lambda", "serverless", "api gateway", "aws", "api", "sls", "istanbul", "mocha", "tdd", "microservice" ], "author": "Lukas Siemon", "license": "MIT", "bugs": { "url": "https://github.com/blackflux/lambda-tdd/issues" }, "homepage": "https://github.com/blackflux/lambda-tdd#readme", "dependencies": { "chai-string": "1.6.0", "glob": "11.0.2", "joi-strict": "4.0.1", "js-yaml": "4.1.0", "lodash.clonedeepwith": "4.5.0", "lodash.get": "4.4.2", "node-tdd": "6.2.1", "object-scan": "20.0.1", "smart-fs": "5.0.2" }, "licenses": [ { "type": "MIT", "url": "https://github.com/blackflux/lambda-tdd/blob/master/LICENSE" } ], "devDependencies": { "@babel/core": "7.27.4", "@babel/eslint-parser": "7.27.1", "@babel/register": "7.27.1", "@blackflux/eslint-plugin-rules": "4.0.1", "@blackflux/robo-config-plugin": "10.0.6", "axios": "1.9.0", "c8": "10.1.3", "chai": "5.2.0", "eslint": "9.28.0", "eslint-config-airbnb-base": "15.0.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-json": "4.0.1", "eslint-plugin-markdown": "5.1.0", "eslint-plugin-mocha": "10.5.0", "js-gardener": "6.0.4", "minimist": "1.2.8", "nock": "14.0.5", "tmp": "0.2.3" }, "engines": { "node": ">= 20" }, "files": [ "lib" ], "peerDependencies": { "chai": ">= 5.0.0", "nock": ">= 13.2.4" } }