UNPKG

stub-azure-function-context

Version:

Provides an object similar to Function Runtime's context for use in unit testing

77 lines (76 loc) 2.33 kB
{ "name": "stub-azure-function-context", "version": "2.5.1", "description": "Provides an object similar to Function Runtime's context for use in unit testing", "main": "dist/index.js", "types": "dist/index.d.ts", "directories": { "test": "test" }, "files": [ "dist" ], "scripts": { "build": "tsc", "lint": "eslint -c .eslintrc.json --ignore-path .eslintignore ./", "lint:code": "eslint -c .eslintrc.json --ignore-path .eslintignore ./", "lint:commits": "commitlint", "prepare": "npm run build --silent", "release": "semantic-release", "test": "mocha -r ts-node/register -r test/etc/bootstrap.ts --extension ts", "test:coverage": "nyc --reporter=cobertura", "watch": "tsc -w" }, "repository": { "type": "git", "url": "git+https://github.com/willmorgan/stub-azure-function-context.git" }, "keywords": [ "azure", "function", "runtime", "serverless", "testing", "unit" ], "author": "Will Morgan", "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/willmorgan/stub-azure-function-context/issues" }, "homepage": "https://github.com/willmorgan/stub-azure-function-context#readme", "devDependencies": { "@azure/functions": "^3.5.1", "@commitlint/cli": "^17.6.6", "@commitlint/config-conventional": "^17.6.6", "@istanbuljs/nyc-config-typescript": "^1.0.2", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^11.1.0", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^9.2.6", "@semantic-release/npm": "^11.0.3", "@semantic-release/release-notes-generator": "^12.1.0", "@tsconfig/node18": "^18.2.4", "@types/chai": "^4.3.4", "@types/content-type": "^1.1.5", "@types/mocha": "^10.0.1", "@types/node": "^18.19.105", "@types/sinon": "^17.0.0", "@types/sinon-chai": "^3.2.9", "@types/uuid": "^10.0.0", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "chai": "^4.3.7", "eslint": "^8.31.0", "mocha": "^11.0.1", "nyc": "^17.0.0", "semantic-release": "^22.0.12", "sinon": "^19.0.2", "sinon-chai": "^3.7.0", "ts-node": "^10.9.1", "typescript": "^5.0.2" }, "dependencies": { "content-type": "^1.0.5" } }