/
package.json
87 lines (87 loc) · 2.97 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
{
"name": "gitmetrix",
"description": "Helps you find your team-level engineering metrics",
"version": "2.2.1",
"author": "Mikael Vesavuori",
"license": "MIT",
"keywords": [
"metrics",
"engineering-metrics",
"git-metrics",
"engops",
"devops",
"software-delivery",
"gitmetrix"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mikaelvesavuori/gitmetrix"
},
"bugs": {
"url": "https://github.com/mikaelvesavuori/gitmetrix/issues"
},
"homepage": "https://github.com/mikaelvesavuori/gitmetrix",
"scripts": {
"start": "npx sls offline --reloadHandler",
"test": "npm run test:licenses && npm run test:types && npm run test:unit",
"test:types": "npx type-coverage --at-least 97.5 --strict --ignore-files \"tests/**/*.ts\" --ignore-files \"*.ts\" --ignore-files \"src/application/errors/*.ts\" --ignore-files \"testdata/*.ts\"",
"test:licenses": "npx license-compliance --direct --allow 'MIT;ISC;0BSD;BSD-2-Clause;BSD-3-Clause;Apache-2.0;Unlicense;CC0-1.0'",
"test:unit": "npx c8 -reporter=lcov ava",
"test:createdata": "npx ts-node tests/createTestData.ts",
"docs": "rm -rf docs && mkdir docs && npm run docs:typedoc && npm run docs:madge && npm run docs:cfndia",
"docs:madge": "npx madge --image diagrams/code-diagram.svg --exclude '(testdata|interfaces|application/errors|infrastructure/utils|config)/.{0,}.(ts|js|json)' --extensions ts src",
"docs:cfndia": "npx cfn-dia draw.io -t .serverless/cloudformation-template-update-stack.json --ci-mode -o diagrams/cfn-diagram.drawio",
"docs:typedoc": "npx typedoc --entryPoints './src' --entryPointStrategy 'expand' --exclude '**/*+(test).ts' --externalPattern '**/node_modules/**/*' --excludeExternals --out 'docs'",
"build:hosting": "npm run docs:typedoc && cp -r diagrams docs && cp -r readme docs",
"build": "npx sls package",
"deploy": "npx sls deploy",
"teardown": "npx sls remove",
"prepare": "husky install"
},
"dependencies": {
"@aws-sdk/client-dynamodb": "3",
"chrono-utils": "1",
"mikrolog": "2",
"mikrometric": "1"
},
"devDependencies": {
"@ava/typescript": "3",
"@mhlabs/cfn-diagram": "1",
"@types/aws-lambda": "8",
"@types/node": "18",
"@typescript-eslint/eslint-plugin": "5",
"@typescript-eslint/parser": "5",
"ava": "5",
"c8": "7",
"eslint": "8",
"eslint-config-prettier": "8",
"eslint-plugin-prettier": "4",
"husky": "8",
"license-compliance": "latest",
"madge": "5",
"prettier": "2",
"serverless": "3",
"serverless-esbuild": "1",
"serverless-iam-roles-per-function": "3",
"serverless-offline": "12",
"ts-node": "latest",
"tslib": "2",
"type-coverage": "2",
"typedoc": "0.23.26",
"typescript": "4"
},
"ava": {
"typescript": {
"rewritePaths": {
"src/": "lib/"
},
"compile": false
},
"files": [
"tests/unit/**/*.ts"
],
"require": [
"ts-node/register"
]
}
}