Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 4.14 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 4.14 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
{
"name": "fastify-example",
"version": "2.7.0",
"description": "Example web application with Fastify",
"main": "src/server",
"scripts": {
"prestart": "",
"start": "node ./src/server",
"start:debug": "node --inspect-brk ./src/server",
"start:dev": "nodemon --watch src ./src/server",
"start:simple": "node ./src/server-simple",
"postinstall": "",
"cache:cleanup": "npm cache clean --force",
"cache:verify": "npm cache verify",
"clean:install": "rm -rf ./package-lock.json ./node_modules/",
"debug": "node --inspect ./src/server",
"debug:dev": "nodemon --debug --watch src ./src/server",
"dependency:log": "npm list > ./temp/dependencies.log",
"docker:build": "docker build -t fastify-example .",
"docker:build:alpine": "docker build -t fastify-example -f Dockerfile.alpine .",
"docker:build:distroless": "docker build -t fastify-example -f Dockerfile.distroless .",
"docker:run": "docker run --init --rm --name fastify-example -d -p 8000:8000 -t fastify-example",
"docker:images": "docker images \"fastify-example*\"",
"docker:inspect": "docker exec -it fastify-example bash",
"docker:inspect:alpine": "docker exec -it fastify-example ash",
"docker:log": "docker logs --follow --tail=1000 fastify-example",
"docker:process": "docker ps --filter name=fastify-example",
"docker:start": "npm run docker:run",
"docker:status": "docker inspect --format '{{ json .State.Health }}' fastify-example",
"docker:healthcheck-manual": "docker exec -it fastify-example node node_modules/fastify-healthcheck/src/healthcheck http://localhost:8000/health",
"docker:stop": "docker kill fastify-example",
"docker:clean": "docker rmi fastify-example",
"healthcheck-manual": "node node_modules/fastify-healthcheck/src/healthcheck http://localhost:8000/health",
"lint": "standard \"./src/**/*.js\" \"./test/**/*.test.js\"",
"lint:log": "npm run lint > ./temp/lint-standard.log",
"license-check": "npx legally",
"license-check:log": "npx legally | tee ./temp/license-check.log",
"license-checker": "npx license-checker --production",
"license-checker:log": "npm run license-checker | tee ./temp/license-checker.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-check-allowed:log": "npm run license-checker-check-allowed | tee ./temp/license-checker-check-allowed.log",
"pretest": "",
"test:coverage": "npm run test:unit -- --cov --coverage-report=html",
"test:coverage:all": "npm run test:unit -- --cov",
"test:unit": "tap -J --comments --no-esm --strict test/*.test.js",
"test:unit:with-snapshot": "cross-env TAP_SNAPSHOT=1 npm run test:unit",
"test:unit:debug": "tap -T --node-arg=--inspect-brk --comments --no-esm --strict test/*.test.js",
"test:unit:dev": "tap -J --comments --no-esm --strict --watch test/*.test.js",
"test": "npm run lint && npm run test:unit",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"dependencies": {
"dotenv": "^8.2.0",
"ejs": "^2.7.4",
"fastify": "^2.15.3",
"fastify-check-runtime-env": "^0.1.0",
"fastify-cloudevents": "^2.5.0",
"fastify-favicon": "^2.1.0",
"fastify-formbody": "^3.2.0",
"fastify-healthcheck": "^2.3.1",
"fastify-jwt": "^1.4.0",
"fastify-nats-client": "^2.1.0",
"fastify-static": "^2.7.0",
"fastify-webhook": "^2.0.0",
"fast-json-stringify": "^2.2.10",
"is-docker": "^2.1.1",
"make-promises-safe": "^5.1.0",
"point-of-view": "^3.8.0",
"snyk": "^1.437.2"
},
"devDependencies": {
"cross-env": "^7.0.3",
"nodemon": "^2.0.6",
"standard": "^16.0.3",
"simple-get": "^4.0.0",
"tap": "^14.11.0"
},
"peerDependencies": {},
"engines": {
"node": ">=10.13.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/smartiniOnGitHub/fastify-example.git"
},
"keywords": [
"node",
"example",
"fastify",
"ejs",
"es6",
"es7",
"es8"
],
"author": "Sandro Martini <sandro.martini@gmail.com>",
"license": "Apache-2.0",
"snyk": true
}