-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 4.36 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 4.36 KB
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
{
"name": "fastify-example",
"version": "5.0.0",
"description": "Example web application with Fastify",
"main": "src/server",
"scripts": {
"audit:log": "npm audit > ./temp/audit.log",
"cache:cleanup": "npm cache clean --force",
"cache:verify": "npm cache verify",
"clean:install": "rm -rf ./package-lock.json ./node_modules/",
"debug:dev": "nodemon --debug --watch src ./src/server",
"debug": "node --inspect ./src/server",
"dependency:log": "npm list > ./temp/dependencies.log",
"docker:build:alpine": "docker build -t fastify-example -f Dockerfile.alpine .",
"docker:build:distroless": "docker build -t fastify-example -f Dockerfile.distroless .",
"docker:build": "docker build -t fastify-example .",
"docker:clean": "docker rmi fastify-example",
"docker:healthcheck-manual": "docker exec -it fastify-example node node_modules/fastify-healthcheck/src/healthcheck http://localhost:8000/health",
"docker:images": "docker images \"fastify-example*\"",
"docker:inspect:alpine": "docker exec -it fastify-example ash",
"docker:inspect": "docker exec -it fastify-example bash",
"docker:log": "docker logs --follow --tail=1000 fastify-example",
"docker:process": "docker ps --filter name=fastify-example",
"docker:run": "docker run --init --rm --name fastify-example -d -p 8000:8000 -t fastify-example",
"docker:start": "npm run docker:run",
"docker:status": "docker inspect --format '{{ json .State.Health }}' fastify-example",
"docker:stop": "docker stop fastify-example",
"docs:clean": "rm -rf ./out/*",
"docs:generate": "npx jsdoc -c .jsdoc.json -R README.md",
"docs": "npm run docs:clean && npm run docs:generate",
"format": "npm run lint:fix",
"healthcheck-manual": "node node_modules/fastify-healthcheck/src/healthcheck http://localhost:8000/health",
"license-check:log": "npx legally | tee ./temp/license-check.log",
"license-check": "npx legally",
"license-checker-check-allowed:log": "npm run license-checker-check-allowed | tee ./temp/license-checker-check-allowed.log",
"license-checker-check-allowed": "npx license-checker --production --onlyAllow='Apache-2.0;BSD-2-Clause;BSD-3-Clause;MIT;ISC;Artistic-2.0'",
"license-checker:log": "npm run license-checker | tee ./temp/license-checker.log",
"license-checker": "npx license-checker --production",
"lint:fix": "standard --fix",
"lint:log": "npm run lint > ./temp/lint-standard.log",
"lint:standard": "standard --verbose",
"lint": "npm run lint:standard",
"postinstall": "",
"prepublish": "",
"prestart": "",
"pretest": "",
"start:debug": "node --inspect-brk ./src/server",
"start:dev": "nodemon --watch src ./src/server",
"start:simple": "node ./src/server-simple",
"start": "node ./src/server",
"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:dev": "npm run test:clean && npm run test:unit:dev",
"test:unit:debug": "tap -T --node-arg=--inspect-brk",
"test:unit:dev": "tap --watch --coverage-report=none",
"test:unit:with-snapshot": "cross-env TAP_SNAPSHOT=1 npm run test:unit",
"test:unit": "tap --allow-incomplete-coverage",
"test": "npm run lint:standard && npm run test:unit"
},
"dependencies": {
"@fastify/formbody": "^8.0.2",
"@fastify/jwt": "^10.0.0",
"@fastify/static": "^9.1.1",
"@fastify/view": "^11.1.1",
"dotenv": "^17.4.2",
"ejs": "^5.0.2",
"fast-json-stringify": "^6.3.0",
"fastify-check-runtime-env": "^5.1.0",
"fastify-cloudevents": "^5.1.0",
"fastify-favicon": "^5.0.0",
"fastify-healthcheck": "^5.1.0",
"fastify-nats-client": "^5.0.0",
"fastify-webhook": "^5.0.0",
"fastify": "^5.8.5"
},
"devDependencies": {
"cross-env": "^10.1.0",
"jsdoc": "^4.0.5",
"nodemon": "^3.1.14",
"simple-get": "^4.0.1",
"standard": "^17.1.2",
"tap": "^21.7.1"
},
"peerDependencies": {},
"type": "commonjs",
"engines": {
"node": ">=20.9.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/smartiniOnGitHub/fastify-example.git"
},
"keywords": [
"node",
"example",
"fastify",
"ejs",
"es10",
"es2019"
],
"author": "Sandro Martini <sandro.martini@gmail.com>",
"license": "Apache-2.0"
}