-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
105 lines (105 loc) · 4 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "fastify-starter-kit",
"version": "0.0.1",
"description": "Template for Node.js projects with pre-built fastify setup.",
"main": "./src/index.js",
"type": "module",
"scripts": {
"audit": "yarn audit",
"start": "node src/index.js",
"start:dev": "node src/index.js | pino-pretty --ignore serviceContext",
"start:dev:watch": "node --watch src/index.js | pino-pretty --ignore serviceContext",
"docker:dev:up": "docker-compose -f ./infra/docker/docker-compose.yml -f ./infra/docker/docker-compose.dev.yml up",
"docker:dev:down": "docker-compose -f ./infra/docker/docker-compose.yml -f ./infra/docker/docker-compose.dev.yml down",
"docker:infra:up": "docker-compose -f ./infra/docker/docker-compose.yml up",
"docker:infra:down": "docker-compose -f ./infra/docker/docker-compose.yml down",
"database:generate": "drizzle-kit generate:pg --config=infra/database/drizzle.config.js",
"database:push": "drizzle-kit push:pg --config=infra/database/drizzle.config.js",
"database:studio": "drizzle-kit studio --config=infra/database/drizzle.config.js --port 3000 --verbose",
"database:check": "drizzle-kit check:pg --config=infra/database/drizzle.config.js",
"database:drop": "drizzle-kit drop --config=infra/database/drizzle.config.js",
"database:up": "drizzle-kit up:pg --config=infra/database/drizzle.config.js",
"database:introspect": "drizzle-kit introspect:pg --config=infra/database/drizzle.config.js",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"prettier:fix": "prettier --write 'src/**/*.{js,cjs}' & prettier --write 'infra/**/*.{js,cjs,ts}' & prettier --write 'tests/**/*.{js,cjs,ts}'",
"prepare": "husky install",
"precommit": "npm run lint && npm test",
"prepush": "npm run lint && npm test",
"check:types": "npx tsc --project tsconfig.json",
"check:env": "node -r ./infra/bin/env/load-and-validate-env.cjs",
"check:dep": "npx depcheck",
"ci": "yarn prettier:fix & yarn lint:fix && yarn lint && yarn test && yarn check",
"generate:module": "npx yo infra/generators/scaffold.js"
},
"author": {
"name": "Taras Ivaniuk",
"url": "https://github.com/256Taras"
},
"license": "MIT",
"engines": {
"node": ">=18.7.0 <=21.7.3",
"npm": ">=7"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"yarn run prettier:fix",
"yarn run lint:fix"
]
},
"imports": {
"#*": "./src/*"
},
"dependencies": {
"@fastify/auth": "^4.6.1",
"@fastify/autoload": "^5.8.0",
"@fastify/awilix": "^5.1.0",
"@fastify/cors": "^9.0.1",
"@fastify/formbody": "^7.4.0",
"@fastify/helmet": "^11.1.1",
"@fastify/jwt": "^8.0.0",
"@fastify/multipart": "^8.2.0",
"@fastify/rate-limit": "^9.1.0",
"@fastify/request-context": "^5.1.0",
"@fastify/static": "^7.0.3",
"@fastify/swagger": "^8.14.0",
"@fastify/swagger-ui": "^3.0.0",
"@fastify/type-provider-typebox": "^4.0.0",
"@sinclair/typebox": "^0.32.22",
"ajv": "^8.12.0",
"awilix": "^10.0.2",
"dayjs": "^1.11.10",
"drizzle-orm": "^0.30.8",
"drizzle-typebox": "^0.1.1",
"env-schema": "^5.2.1",
"fastify": "^4.26.2",
"fastify-plugin": "^4.5.1",
"pino": "^8.15.0",
"postgres": "^3.4.4",
"rambda": "^9.1.1"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.11.18",
"@types/pg": "^8.10.9",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"dotenv-safe": "^8.2.0",
"drizzle-kit": "^0.20.11",
"eslint": "^8.44.0",
"eslint-config-metarhia": "^8.1.0",
"eslint-config-node": "^4.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-custom-alias": "^1.3.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.0",
"lint-staged": "^12.4.1",
"pino-pretty": "^9.1.0",
"prettier": "^2.5.1",
"typescript": "^5.2.2",
"yeoman-generator": "6.0.1"
}
}