-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
86 lines (86 loc) · 2.62 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
{
"name": "express-ts-api-boilerplate",
"version": "1.0.0",
"description": "A Node-Express boilerplate for building RESTful APIs using typescript",
"scripts": {
"type-check": "tsc --noEmit",
"dev": "nodemon --watch src --ext ts --exec 'npm run build && npm start'",
"build": "swc src --out-dir build --copy-files",
"build:watch": "tsc --watch & node dist/index.js",
"build:swagger": "tsoa spec-and-routes routes",
"start": "node build/src/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint . --ext .ts",
"format": "prettier --config .prettierrc 'src/**/*.ts' --write"
},
"husky": {
"hooks": {
"pre-commit": "npm run format && npm run lint"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/potanco/express-ts-api-boilerplate.git"
},
"keywords": [],
"author": "Potan",
"license": "ISC",
"bugs": {
"url": "https://github.com/potanco/express-ts-api-boilerplate/issues"
},
"homepage": "https://github.com/potanco/express-ts-api-boilerplate#readme",
"dependencies": {
"@hapi/joi": "^17.1.1",
"argon2": "^0.41.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"express": "^4.21.0",
"express-rate-limit": "^7.4.0",
"helmet": "^7.1.0",
"mongoose": "^8.6.2",
"morgan": "^1.10.0",
"nodemailer": "^6.9.15",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"swagger-ui-express": "^5.0.1",
"validator": "^13.12.0",
"winston": "^3.14.2",
"tsoa": "^6.4.0"
},
"devDependencies": {
"@swc/cli": "^0.4.0",
"@swc/core": "^1.7.26",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/dotenv": "^8.2.0",
"@types/ejs": "^3.1.5",
"@types/express": "^4.17.21",
"@types/express-rate-limit": "^6.0.0",
"@types/hapi__joi": "^17.1.14",
"@types/helmet": "^4.0.0",
"@types/morgan": "^1.9.9",
"@types/node": "^22.5.4",
"@types/nodemailer": "^6.4.15",
"@types/passport": "^1.0.16",
"@types/passport-jwt": "^4.0.1",
"@types/passport-local": "^1.0.38",
"@types/swagger-ui-express": "^4.1.6",
"@types/validator": "^13.12.1",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.6",
"nodemon": "^3.1.4",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
}
}