-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 3.13 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
{
"name": "fastify-tmpl",
"version": "1.1.5",
"description": "Fastify API service template",
"homepage": "https://github.com/oleksii-honchar/fastify-tmpl/blob/main/README.md",
"bugs": {
"url": "https://github.com/oleksii-honchar/fastify-tmpl/issues"
},
"repository": "https://github.com/oleksii-honchar/fastify-tmpl",
"license": "MIT",
"author": "Oleksii Honchar <[email protected]>",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"scripts": {
"build": "pnpm clean:dist && pnpm ts:build",
"ci": "pnpm code:check && pnpm test && pnpm ts:build",
"clean": "rm -rf dist && rm -rf node_modules",
"clean:dist": "rm -rf dist",
"code:check": "pnpm lint:check && pnpm prettier:check && pnpm ts:check",
"code:fix": "pnpm lint:fix && pnpm prettier:write",
"debug": "pnpm run dotenvx -- nodemon --inspect src/index.ts | pino-pretty -c",
"debug:json-logs": "make logs-restart && pnpm run dotenvx -- nodemon --inspect src/index.ts > ./logs/fastify.log 2>&1",
"dev": "pnpm run dotenvx -- nodemon src/index.ts | pino-pretty -c",
"dev:json-logs": "make logs-restart && pnpm run dotenvx -- nodemon src/index.ts > ./logs/fastify.log 2>&1",
"docker:build": "make docker-build",
"docker:run": "make docker-run",
"dotenvx": "dotenvx run --env-file .env",
"lint:check": "ESLINT_USE_FLAT_CONFIG=true eslint --config ./eslint.config.js --cache . --max-warnings 0",
"lint:fix": "pnpm lint --fix",
"prepare": "husky",
"prettier:check": "prettier --check \"{src,test}/**/*.{ts,js,json,md}\"",
"prettier:write": "prettier --write \"{src,test}/**/*.{ts,js,json,md}\"",
"sort-package-json": "npx sort-package-json",
"start": "pnpm build; node dist/index.js",
"test": "NODE_ENV=test jest --passWithNoTests --config ./jest.config.js",
"ts:build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"ts:check": "pnpm ts:compile",
"ts:compile": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json"
},
"dependencies": {
"ajv": "^8.17.1",
"config": "^3.3.12",
"eslint-plugin-prettier": "^5.2.1",
"fastify": "^5.0.0",
"husky": "^9.1.4",
"moment": "2.30.1",
"pino": "^9.3.2",
"tslib": "^2.7.0"
},
"devDependencies": {
"@dotenvx/dotenvx": "^1.14.1",
"@eslint/js": "^9.11.0",
"@faker-js/faker": "^8.4.1",
"@tsconfig/node22": "22.0.0",
"@tsconfig/recommended": "1.0.7",
"@types/config": "^3.3.4",
"@types/eslint__js": "^8.42.3",
"@types/node": "22.7.0",
"eslint": "^9.11.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-markdown": "^5.1.0",
"globals": "^15.9.0",
"jest": "^29.7.0",
"nodemon": "3.1.7",
"pino-pretty": "^11.2.2",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"tsconfig-paths": "^4.2.0",
"typescript": "5.6.2",
"typescript-eslint": "^8.0.0"
},
"packageManager": "[email protected]+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a",
"engines": {
"node": "^22"
}
}