-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
89 lines (89 loc) · 2.95 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
{
"name": "@qiwi/health-indicator",
"version": "2.0.0",
"description": "Health indicator kit for server-side monitoring & balancing",
"type": "module",
"engines": {
"node": ">=12.20"
},
"exports": {
".": {
"import": "./target/esm/index.mjs",
"require": "./target/cjs/index.cjs"
},
"./*": "./*"
},
"types": "typings/index.d.ts",
"typescript": {
"definition": "typings/index.d.ts"
},
"files": [
"README.md",
"CHANGELOG.md",
"target",
"typings",
"flow-typed"
],
"scripts": {
"jest": "jest -w 2 --config=jest.config.json",
"test": "yarn lint && yarn jest",
"clean": "rimraf target typings",
"build": "yarn clean && yarn build:cjs && yarn build:mjs && yarn build:ts && yarn build:libdef && yarn docs && yarn uglify && yarn build:bundle",
"build:cjs": "mkdir -p target/cjs && tsc -p tsconfig.cjs.json && tsc-esm-fix --target target/cjs --ext .cjs --fillBlank",
"build:mjs": "mkdir -p target/esm && tsc -p tsconfig.esm.json && tsc-esm-fix --target target/esm --ext .mjs --fillBlank",
"build:ts": "cp -r src/main/ts/ target/ts/",
"build:bundle": "microbundle build -o target/bundle --tsconfig='tsconfig.json' src/main/ts/index.ts",
"build:libdef": "libdefkit --tsconfig=tsconfig.cjs.json --tsconfig=tsconfig.esm.json --entry=@qiwi/health-indicator/target/cjs --no-flow-out",
"test:report": "yarn test && yarn test:push",
"test:push": "cat ./coverage/lcov.info | npm_config_yes=true npx coveralls@3",
"docs": "typedoc --readme README.md --tsconfig tsconfig.json || exit 0",
"uglify": "for f in $(find target -name '*.js'); do short=${f%.js}; terser -c -m -o $short.js -- $f; done",
"postupdate": "yarn && yarn build && yarn test",
"lint": "eslint src/**/*.ts",
"lint:fix": "yarn lint --fix"
},
"repository": {
"type": "git",
"url": "[email protected]:qiwi/health-indicator.git"
},
"keywords": [
"health",
"healtz",
"healthcheck",
"indicator",
"monitoring"
],
"author": "Anton Golub <[email protected]>",
"license": "MIT",
"dependencies": {
"http-status-codes": "^2.2.0",
"lodash": "^4.17.21",
"tslib": "^2.4.0"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.17.10",
"@babel/plugin-external-helpers": "^7.16.7",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.10",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.17.10",
"@babel/register": "^7.17.7",
"@babel/runtime": "^7.17.9",
"@qiwi/libdefkit": "^6.0.0",
"@qiwi/license": "^1.3.3",
"@types/jest": "^29.0.0",
"@types/jest-json-schema": "^6.1.0",
"eslint": "^8.15.0",
"eslint-config-qiwi": "^1.17.1",
"jest": "^29.0.0",
"microbundle": "^0.15.0",
"reqresnext": "^1.7.0",
"rimraf": "^5.0.0",
"terser": "^5.13.1",
"ts-jest": "^29.0.0",
"tsc-esm-fix": "^3.0.0",
"typedoc": "0.27.6",
"typescript": "^4.6.4"
}
}