-
Notifications
You must be signed in to change notification settings - Fork 153
/
Copy pathpackage.json
90 lines (90 loc) · 3.87 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "@aws-lambda-powertools/metrics",
"version": "0.6.0",
"description": "The metrics package for the AWS Lambda powertools (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": "jest --group=e2e",
"watch": "jest --group=unit --watch ",
"build": "tsc",
"lint": "eslint --ext .ts --fix --no-error-on-unmatched-pattern src tests",
"format": "eslint --fix --ext .ts --fix --no-error-on-unmatched-pattern src tests",
"package": "mkdir -p dist/ && npm pack && mv *.tgz dist/",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"example:hello-world": "ts-node examples/hello-world.ts",
"example:manual-flushing": "ts-node examples/manual-flushing.ts",
"example:dimensions": "ts-node examples/dimensions.ts",
"example:default-dimensions": "ts-node examples/default-dimensions.ts",
"example:empty-metrics": "ts-node examples/empty-metrics.ts",
"example:single-metric": "ts-node examples/single-metric.ts",
"example:cold-start": "ts-node examples/cold-start.ts",
"example:manual-metrics-print": "ts-node examples/manual-metrics-print.ts",
"example:constructor-options": "ts-node examples/constructor-options.ts",
"example:default-dimensions-constructor": "ts-node examples/default-dimensions-constructor.ts",
"example:decorator-hello-world": "ts-node examples/decorator/hello-world.ts",
"example:decorator-manual-flushing": "ts-node examples/decorator/manual-flushing.ts",
"example:decorator-dimensions": "ts-node examples/decorator/dimensions.ts",
"example:decorator-default-dimensions": "ts-node examples/decorator/default-dimensions.ts",
"example:decorator-empty-metrics": "ts-node examples/decorator/empty-metrics.ts",
"example:decorator-single-metric": "ts-node examples/decorator/single-metric.ts",
"example:decorator-cold-start": "ts-node examples/decorator/cold-start.ts",
"example:decorator-manual-metrics-print": "ts-node examples/decorator/manual-metrics-print.ts",
"example:decorator-constructor-options": "ts-node examples/decorator/constructor-options.ts",
"example:decorator-default-dimensions-constructor": "ts-node examples/decorator/default-dimensions-constructor.ts"
},
"homepage": "https://github.com/awslabs/aws-lambda-powertools-typescript/tree/master/packages/metrics#readme",
"license": "MIT-0",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"typedocMain": "src/index.ts",
"devDependencies": {
"@aws-cdk/aws-lambda-nodejs": "^1.137.0",
"@aws-cdk/core": "^1.137.0",
"@commitlint/cli": "^16.0.1",
"@middy/core": "^2.5.6",
"@types/aws-lambda": "^8.10.72",
"@types/jest": "^27.0.0",
"@types/node": "^17.0.8",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"aws-cdk": "^1.137.0",
"aws-sdk": "^2.1048.0",
"esbuild": "0.14.11",
"eslint": "^8.3.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.3",
"jest": "^27.2.2",
"jest-runner-groups": "^2.1.0",
"ts-jest": "^27.0.5",
"ts-node": "^10.0.0",
"typescript": "^4.1.3"
},
"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": "^0.6.0",
"@types/aws-lambda": "^8.10.72"
}
}