-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
107 lines (107 loc) · 3.19 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@mojaloop/central-services-metrics",
"version": "12.4.2",
"description": "Shared code for metrics generation",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"/config",
"/dist",
"/protos"
],
"scripts": {
"test": "npm run test:unit",
"pretest": "npm run build",
"prepublishOnly": "npm run build",
"standard": "npx ts-standard",
"standard:fix": "npx ts-standard --fix",
"lint": "npm run standard",
"lint:fix": "npm run standard:fix",
"build": "npx tsc",
"watch": "npx tsc -w",
"test:unit": "npx ts-node node_modules/tape/bin/tape 'test/unit/**/*.test.ts' | tap-spec",
"test:xunit": "npx ts-node node_modules/tape/bin/tape 'test/unit/**/*.test.ts' | tap-xunit > ./test/results/xunit.xml",
"test:coverage": "nyc --reporter=lcov --reporter=text-summary --require ts-node/register tape test/unit/**/*.test.{ts,js}",
"test:coverage-check": "npm run test:coverage && nyc check-coverage",
"audit:fix": "npm audit fix",
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
"dep:check": "npx ncu -e 2",
"dep:update": "npx ncu -u",
"release": "npx standard-version --no-verify --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
"snapshot": "npx standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
},
"pre-commit": [
"dep:check",
"build",
"lint",
"test:unit"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mojaloop/central-services-metrics.git"
},
"keywords": [
"metrics",
"central",
"services"
],
"author": "ModusBox",
"contributors": [
"Shashikant Hirugade <shashikant.hirugade@modusbox.com>",
"Georgi Georgiev <georgi.georgiev@modusbox.com>",
"Valentin Genev <valentin.genev@modusbox.com>",
"Miguel de Barros <miguel.debarros@modusbox.com>"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/mojaloop/central-services-metrics/issues"
},
"homepage": "https://github.com/mojaloop/central-services-metrics#readme",
"dependencies": {
"prom-client": "15.1.3"
},
"devDependencies": {
"@hapi/hapi": "^21.3.12",
"@types/node": "^22.10.2",
"@types/tape": "^5.6.5",
"audit-ci": "^7.1.0",
"debug": "4.4.0",
"joi": "^17.13.3",
"npm-check-updates": "17.1.11",
"nyc": "17.1.0",
"pre-commit": "1.2.2",
"replace": "^1.2.2",
"standard": "17.1.2",
"standard-version": "^9.5.0",
"tap-spec": "^5.0.0",
"tap-xunit": "2.4.1",
"tape": "5.9.0",
"tapes": "4.1.0",
"ts-node": "10.9.2",
"ts-standard": "^12.0.2",
"tslib": "^2.8.1",
"tslint": "6.1.3",
"typescript": "^5.7.2"
},
"nyc": {
"include": [
"src/**/*.ts",
"test/**/*.test.ts"
],
"extension": [
".ts"
]
},
"ts-standard": {
"project": "./tsconfig.json",
"ignore": [
"/dist",
"/test"
]
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
}
}