-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
executable file
·87 lines (87 loc) · 3.51 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": "fastify-healthcheck",
"version": "5.0.0",
"description": "Fastify Plugin to serve responses for health checks",
"main": "src/plugin",
"types": "types/index.d.ts",
"scripts": {
"audit:log": "npm audit > ./temp/audit.log",
"clean:install": "rm -rf ./package-lock.json ./node_modules/",
"dependency:log": "npm list > ./temp/dependencies.log",
"docker:build:fail": "docker build -t fastify-healthcheck-example -f Dockerfile-fail.example .",
"docker:build": "docker build -t fastify-healthcheck-example -f Dockerfile.example .",
"docker:clean": "docker rmi fastify-healthcheck-example",
"docker:healthcheck-manual": "docker exec -it fastify-healthcheck-example node src/healthcheck",
"docker:inspect": "docker exec -it fastify-healthcheck-example bash",
"docker:log": "docker logs --follow --tail=1000 fastify-healthcheck-example",
"docker:process": "docker ps --filter name=fastify-healthcheck-example",
"docker:run": "docker run --rm --name fastify-healthcheck-example -d -p 3000:3000 -t fastify-healthcheck-example",
"docker:status": "docker inspect --format '{{ json .State.Health }}' fastify-healthcheck-example",
"docker:stop": "docker kill fastify-healthcheck-example",
"docs:clean": "rm -rf ./docs/*",
"docs:generate": "npx jsdoc -c .jsdoc.json -R README.md",
"docs": "npm run docs:clean && npm run docs:generate",
"example-under-pressure-fail": "node example/example-under-pressure-fail",
"example": "node example/example",
"lint:fix": "standard --fix",
"lint:standard": "standard --verbose",
"lint:typescript": "standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin test/*.ts",
"lint:typescript:eslint": "eslint -c types/.eslintrc.json types/*.d.ts types/*.test-d.ts",
"lint:typescript:eslint:fix": "eslint -c types/.eslintrc.json types/*.d.ts types/*.test-d.ts --fix",
"lint": "npm run lint:standard && npm run lint:typescript",
"start": "node src/healthcheck",
"test:clean": "rm -rf .nyc_output/* .tap/* ./coverage/*",
"test:coverage:all": "npm run test:unit -- --coverage-report=text",
"test:coverage": "npm run test:unit -- --coverage-report=html",
"test:types": "tsd",
"test:unit:debug": "tap -T --node-arg=--inspect-brk",
"test:unit:dev": "tap --watch --coverage-report=none",
"test:unit": "tap --allow-incomplete-coverage",
"test": "npm run lint:standard && npm run lint:typescript && npm run test:types && npm run test:unit"
},
"dependencies": {
"@fastify/under-pressure": "^9.0.1"
},
"devDependencies": {
"@types/node": "^22.5.5",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"fastify": "^5.0.0",
"jsdoc": "^4.0.3",
"simple-get": "^4.0.1",
"standard": "^17.1.2",
"tap": "^21.0.1",
"tsd": "^0.31.2"
},
"standard": {
"ignore": [
"types/*"
]
},
"tsd": {
"directory": "types",
"compilerOptions": {
"esModuleInterop": true,
"strict": true
}
},
"peerDependencies": {},
"engines": {
"node": ">=20.9.0"
},
"homepage": "https://github.com/smartiniOnGitHub/fastify-healthcheck#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/smartiniOnGitHub/fastify-healthcheck.git"
},
"bugs": {
"url": "https://github.com/smartiniOnGitHub/fastify-healthcheck/issues"
},
"keywords": [
"fastify",
"plugin",
"healthcheck"
],
"author": "Sandro Martini <sandro.martini@gmail.com>",
"license": "Apache-2.0"
}