UNPKG

@aws-lambda-powertools/metrics

Version:
64 lines (63 loc) 1.97 kB
{ "name": "@aws-lambda-powertools/metrics", "version": "1.7.0", "description": "The metrics package for the AWS Lambda Powertools for TypeScript library", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com" }, "publishConfig": { "access": "public" }, "scripts": { "commit": "commit", "test": "npm run test:unit", "test:unit": "jest --group=unit --detectOpenHandles --coverage --verbose", "test:e2e:nodejs14x": "RUNTIME=nodejs14x jest --group=e2e", "test:e2e:nodejs16x": "RUNTIME=nodejs16x jest --group=e2e", "test:e2e:nodejs18x": "RUNTIME=nodejs18x jest --group=e2e", "test:e2e": "jest --group=e2e", "watch": "jest --group=unit --watch ", "build": "tsc", "lint": "eslint --ext .ts --no-error-on-unmatched-pattern src tests", "lint-fix": "eslint --fix --ext .ts --no-error-on-unmatched-pattern src tests", "package": "mkdir -p dist/ && npm pack && mv *.tgz dist/", "package-bundle": "../../package-bundler.sh metrics-bundle ./dist", "prepare": "npm run build", "postversion": "git push --tags" }, "lint-staged": { "*.ts": "npm run lint-fix" }, "homepage": "https://github.com/awslabs/aws-lambda-powertools-typescript/tree/main/packages/metrics#readme", "license": "MIT-0", "main": "./lib/index.js", "types": "./lib/index.d.ts", "typedocMain": "src/index.ts", "devDependencies": { "@types/promise-retry": "^1.1.3", "promise-retry": "^2.0.1" }, "files": [ "lib" ], "repository": { "type": "git", "url": "git+https://github.com/awslabs/aws-lambda-powertools-typescript.git" }, "bugs": { "url": "https://github.com/awslabs/aws-lambda-powertools-typescript/issues" }, "dependencies": { "@aws-lambda-powertools/commons": "^1.7.0" }, "keywords": [ "aws", "lambda", "powertools", "metrics", "serverless", "nodejs" ], "gitHead": "5e3eb7278e5781c2ed1006ab0b561a46925f7318" }