-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 5.32 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "aaa-typescript-boilerplate",
"version": "1.0.0",
"description": "This is a boilerplate to build REST APIs, Monolithic Modular and Microservice applications with Typescript.",
"main": "src/interface/HTTP/adapters/fastify.ts",
"engines": {
"node": ">=20.0.0"
},
"engineStrict": true,
"scripts": {
"check-node-version": "node check-node-version.js",
"preinstall": "pnpm run check-node-version",
"prepare": "husky install",
"commit": "git add . && git-cz",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"build:dev": "NODE_ENV=dev tsc",
"build:prod": "NODE_ENV=prod tsc",
"tdd": "NODE_ENV=dev npx jest --watchAll",
"ci:test": "NODE_ENV=ci npx jest ./test",
"test": "NODE_ENV=dev npx jest ./test",
"test:unit": "NODE_ENV=dev jest ./test/unit",
"test:integration": "pnpm run test:integration:express && pnpm run test:integration:fastify && pnpm run test:integration:restify",
"test:integration:express": "NODE_ENV=dev jest ./test/integration/Express",
"test:integration:fastify": "NODE_ENV=dev jest ./test/integration/Fastify",
"test:integration:restify": "NODE_ENV=dev jest ./test/integration/Restify",
"test:integration:lambda": "NODE_ENV=dev jest ./test/integration/Lambda",
"test:integration:hyper-express": "NODE_ENV=dev jest ./test/integration/hyper-express",
"dev:express": "nodemon --exec node -r ts-node/register --env-file=./src/config/.env.dev ./src/interface/HTTP/adapters/express/express.ts",
"dev:fastify": "nodemon --exec node -r ts-node/register --env-file=./src/config/.env.dev ./src/interface/HTTP/adapters/fastify/fastify.ts",
"dev:restify": "nodemon --exec node -r ts-node/register --env-file=./src/config/.env.dev ./src/interface/HTTP/adapters/restify/restify.ts",
"dev:hyper-express": "nodemon --exec node -r ts-node/register --env-file=./src/config/.env.dev ./src/interface/HTTP/adapters/hyper-express/hyper-express.ts",
"dev:serverless": "pnpm run lint && NODE_ENV=dev serverless dev",
"prod:express": "node --env-file=./.buid/config/.env.prod ./.build/interface/HTTP/adapters/express/express.js",
"prod:fastify": "node --env-file=./.buid/config/.env.prod ./.buid/interface/HTTP/adapters/fastify/fastify.js",
"prod:restify": "node --env-file=./.buid/config/.env.prod ./.buid/interface/HTTP/adapters/restify/restify.js",
"prod:hyper-express": "node --env-file=./.buid/config/.env.prod ./.buid/interface/HTTP/adapters/hyper-express/hyper-express.js",
"prod:serverless": "pnpm run lint && NODE_ENV=prod serverless dev",
"docker:composeredis": "docker compose -f \"docker-compose-redis.yml\" up -d --build",
"docker:stop": "docker-compose stop",
"docker:restart": "docker compose -f \"docker-compose-redis.yml\" down && pnpm run docker:composeredis",
"docker:clean": "docker system prune -a"
},
"dependencies": {
"@fastify/cors": "^10.0.1",
"@fastify/formbody": "^8.0.1",
"@fastify/helmet": "^12.0.1",
"@fastify/static": "^8.0.1",
"aws-lambda": "^1.0.7",
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.3",
"bunyan": "^1.8.15",
"cors": "^2.8.5",
"express": "^4.21.0",
"fastify": "^5.0.0",
"find-my-way": "^9.1.0",
"helmet": "^7.2.0",
"hyper-express": "^6.17.2",
"jsonwebtoken": "^9.0.2",
"live-directory": "^3.0.3",
"openapi-types": "^12.1.3",
"redis": "^4.7.0",
"reflect-metadata": "^0.2.2",
"restify": "^11.1.0",
"semver": "^7.6.3",
"serverless": "^4.4.4",
"uuid": "^9.0.1",
"xss": "^1.0.15",
"yaml": "^2.5.1"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@types/aws-lambda": "^8.10.145",
"@types/bcrypt": "^5.0.2",
"@types/bcryptjs": "^2.4.6",
"@types/body-parser": "^1.19.5",
"@types/bunyan": "^1.8.11",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.13",
"@types/jsonwebtoken": "^9.0.7",
"@types/node": "^20.16.10",
"@types/restify": "^8.5.12",
"@types/serverless": "^3.12.22",
"@types/supertest": "^6.0.2",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"commitizen": "^4.3.1",
"concurrently": "^8.2.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-module-resolver": "^1.5.0",
"eslint-plugin-no-async-foreach": "^0.1.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"nodemon": "^3.1.7",
"supertest": "^6.3.4",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^4.9.5"
},
"resolutions": {
"serverless": "^4.1.12"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"hooks": {
"pre-commit": "pnpm run lint && pnpm run test"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/web2solutions/aaa-typescript-boilerplate/issues"
},
"homepage": "https://github.com/web2solutions/aaa-typescript-boilerplate#readme",
"author": {
"name": "Eduardo Almeida",
"url": "https://github.com/web2solutions",
"email": "[email protected]"
}
}