-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
166 lines (166 loc) · 5.19 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "expresso-sequelize",
"version": "5.3.1",
"description": "expressjs, typescript, sequelize, gcp, aws, minio",
"main": "./dist/main.js",
"scripts": {
"key:generate": "node ./dist/scripts/generate.js",
"clean": "rimraf dist coverage",
"typecheck": "tsc --noEmit",
"lint": "npx eslint '*/**/*.{js,jsx,ts,tsx}' --quiet --fix",
"prebuild": "npm-run-all clean lint typecheck",
"build": "npx swc src -d dist",
"build:ts": "tsc && tsc-alias",
"start": "nodemon --exec node ./dist/main.js",
"dev": "npm-run-all build start",
"dev:watch": "concurrently \"npm run watch-compile\" \"npm run watch-dev\"",
"watch-compile": "npx swc src -w --out-dir dist",
"watch-dev": "nodemon --watch \"dist/**/*\" -e js ./dist/main.js",
"db:migrate": "npx sequelize-cli db:migrate",
"db:migrate-fresh": "npx sequelize-cli db:migrate:undo:all && npm run db:migrate",
"db:seed": "npx sequelize-cli db:seed:all",
"db:drop": "npx sequelize-cli db:drop",
"db:create": "npx sequelize-cli db:create",
"db:reset": "npm-run-all db:drop db:create db:migrate db:seed",
"deploy:pm2": "npm run build && npx pm2 reload ecosystem.config.js",
"serve:staging": "NODE_ENV=staging node ./dist/main.js",
"serve:production": "NODE_ENV=production node ./dist/main.js",
"serve:staging-docker": "NODE_ENV=staging pm2-runtime ./dist/main.js",
"serve:production-docker": "NODE_ENV=production pm2-runtime ./dist/main.js",
"test": "jest",
"test:watch": "jest --watchAll",
"prerelease": "npm run prebuild",
"postrelease": "git push --follow-tags origin main",
"release": "standard-version",
"release:pre": "npm run release -- --prerelease",
"release:patch": "npm run release -- --release-as patch",
"release:minor": "npm run release -- --release-as minor",
"release:major": "npm run release -- --release-as major"
},
"keywords": [
"expressjs",
"typescript",
"typeorm",
"gcp",
"aws",
"minio"
],
"author": "masb0ymas <[email protected]>",
"license": "MIT",
"private": true,
"engines": {
"node": ">= 16.x"
},
"dependencies": {
"axios": "^1.7.7",
"colorette": "^2.0.20",
"compression": "^1.7.4",
"concurrently": "^8.2.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"date-fns": "^3.6.0",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-async-handler": "^1.2.0",
"express-rate-limit": "^7.4.0",
"express-useragent": "^1.0.15",
"expresso-core": "^0.12.2",
"expresso-hooks": "^0.12.2",
"expresso-provider": "^0.12.2",
"expresso-query": "^0.12.2",
"handlebars": "^4.7.8",
"helmet": "^7.1.0",
"hpp": "^0.2.3",
"i18next": "^23.14.0",
"i18next-fs-backend": "^2.3.2",
"i18next-http-middleware": "^3.6.0",
"lodash": "^4.17.21",
"multer": "1.4.5-lts.1",
"node-cron": "^3.0.3",
"npm-run-all": "^4.1.5",
"pg": "^8.12.0",
"pg-hstore": "^2.3.4",
"pino": "^8.21.0",
"pino-http": "^8.6.1",
"pino-pretty": "^10.3.1",
"pm2": "^5.4.2",
"qs": "^6.13.0",
"reflect-metadata": "^0.2.2",
"request-ip": "^3.3.0",
"sequelize": "^6.37.3",
"sequelize-cli": "^6.6.2",
"sequelize-typescript": "^2.1.6",
"slugify": "^1.6.6",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"uuid": "^9.0.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@jest/globals": "^29.7.0",
"@swc/cli": "0.1.65",
"@swc/core": "1.3.78",
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/express-useragent": "^1.0.5",
"@types/hpp": "^0.2.6",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.7",
"@types/multer": "^1.4.12",
"@types/node": "^22.5.1",
"@types/node-cron": "^3.0.11",
"@types/qs": "^6.9.15",
"@types/request-ip": "^0.0.41",
"@types/supertest": "^6.0.2",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^6.6.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"nodemon": "^3.1.4",
"prettier": "^3.3.3",
"rimraf": "^5.0.10",
"standard-version": "^9.5.0",
"supertest": "^6.3.4",
"ts-jest": "^29.2.5",
"tsc-alias": "^1.8.10",
"typescript": "^5.5.4"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"modulePaths": [
"src"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"^~(.*)$": "<rootDir>/src$1"
},
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/"
],
"testTimeout": 30000
}
}