-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.72 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.72 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
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
{
"name": "codient",
"version": "1.0.0",
"main": "index.js",
"keywords": [
"codient",
"blog",
"backend",
"express",
"nodejs",
"typescript",
"typeorm",
"api",
"rest-api",
"auth"
],
"author": "Vo Duc Huy",
"license": "MIT",
"description": "Codient is a TypeScript-based backend boilerplate for blogs and developer portfolios.",
"repository": {
"type": "git",
"url": "https://github.com/vdhuy/codient"
},
"scripts": {
"build": "tsc && tsc-alias",
"start": "node dist/index.js",
"dev": "ts-node-dev --respawn -r tsconfig-paths/register src/index.ts",
"production": "npm run build && npm start",
"production:first": "npm run build && npm run migration:up && npm run seed:up && npm start",
"typeorm": "node -r ts-node/register -r tsconfig-paths/register ./typeorm-cli.js",
"migration:generate": "npm run typeorm -- migration:generate -d src/data-source.ts",
"migration:up": "npm run typeorm -- migration:run -d src/data-source.ts",
"migration:undo": "npm run typeorm -- migration:revert -d src/data-source.ts",
"seed:up": "ts-node -r tsconfig-paths/register ./node_modules/@jorgebodega/typeorm-seeding/dist/cli.js seed -d src/data-source.ts src/seeders/**/*{.ts,.js}",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix"
},
"dependencies": {
"@google-analytics/data": "^5.2.0",
"@jorgebodega/typeorm-seeding": "^7.1.0",
"bcryptjs": "^3.0.2",
"compression": "^1.8.1",
"cors": "^2.8.5",
"date-fns": "^4.1.0",
"dotenv": "^17.2.1",
"express": "^4.21.2",
"express-validator": "^7.2.1",
"google-auth-library": "^10.2.1",
"helmet": "^8.1.0",
"imagekit": "^6.0.0",
"inversify": "^6.2.2",
"inversify-express-utils": "^6.5.0",
"jsonwebtoken": "^9.0.2",
"nanoid": "^5.1.5",
"pg": "^8.16.3",
"reflect-metadata": "^0.2.2",
"slugify": "^1.6.6",
"typeorm": "^0.3.26",
"winston": "^3.17.0",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@types/compression": "^1.8.1",
"@types/cors": "^2.8.19",
"@types/ejs": "^3.1.5",
"@types/express": "^5.0.3",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^24.3.0",
"@types/nodemailer": "^7.0.1",
"@typescript-eslint/eslint-plugin": "^8.40.0",
"@typescript-eslint/parser": "^8.40.0",
"eslint": "^9.33.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"prettier": "^3.6.2",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tsc-alias": "^1.8.16",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.2"
}
}