-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 2.14 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 2.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
{
"name": "node-fastify-template",
"version": "1.2.0",
"description": "Node.js API server based on fastify/MongoDB project template.",
"main": "./src/app.js",
"exports": "./src/app.js",
"type": "module",
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"start": "fastify start --log-level info --pretty-logs --watch src/app.js",
"debug": "fastify start --debug --log-level info --pretty-logs --watch src/app.js",
"lint": "eslint",
"lint:fix": "eslint --fix",
"test:unit": "node --test src/**/__test__/**/*.test.js",
"test:component": "node --test test/*.test.js",
"coverage": "node --test --experimental-test-coverage --test-coverage-include=src/** --test-coverage-exclude=src/**/__test__/* --test-coverage-lines=100 --test-coverage-branches=100 --test-coverage-functions=100",
"coverage:lcov": "node --run coverage -- --test-reporter=lcov --test-reporter-destination=lcov.info",
"test": "node --run lint && node --run test:unit && node --run test:component && node --run coverage",
"bruno": "cd bruno && npx @usebruno/cli run --env local",
"license-checker": "npx license-checker --production --onlyAllow='BlueOak-1.0.0;Apache-2.0;Apache-2.0 WITH LLVM-exception;MIT;ISC;BSD-3-Clause;BSD-2-Clause' --excludePackages 'buffers@0.1.1;event-stream@0.9.8;png-js@0.1.1'",
"super-linter": "docker run -e RUN_LOCAL=true -v $PWD:/tmp/lint github/super-linter",
"mega-linter": "npx mega-linter-runner@9.0.1 --flavor javascript --container-name=mega-linter",
"prepare": "husky"
},
"repository": "github:mihaur/node-fastify-template",
"keywords": [
"node",
"nodejs",
"API",
"backend",
"server",
"fastify",
"mongo",
"mongodb",
"template",
"boilerplate"
],
"author": "Miha Urbanija <miha.urbanija@gmail.com>",
"license": "Apache-2.0 WITH LLVM-exception",
"devDependencies": {
"eslint": "^9.39.2",
"husky": "^9.1.7",
"neostandard": "^0.13.0"
},
"dependencies": {
"fastify": "^5.8.5",
"fastify-cli": "^8.0.0",
"@fastify/env": "^6.0.0",
"@fastify/mongodb": "^10.0.0",
"@fastify/swagger": "^9.7.0",
"@fastify/swagger-ui": "^5.2.6"
}
}