-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 3.65 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 3.65 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "node-express-mongodb-typescript-blog-rest-api",
"version": "1.2.0",
"description": " An open-source RESTful API built with Node.js, Express, MongoDB, and TypeScript, offering user authentication, blog management, and features like filtering, pagination, sorting, and search for seamless integration into your application",
"main": "src/server.ts",
"scripts": {
"start": "ts-node -r tsconfig-paths/register src/server.ts",
"dev": "nodemon -r tsconfig-paths/register src/server.ts",
"clean": "rimraf dist",
"build": "npm run clean && tsc -p tsconfig.prod.json",
"start:dist": "node -r tsconfig-paths/register dist/src/server.js",
"lint": "eslint --fix src test",
"lint:fix": "eslint . --fix",
"test": "export NODE_ENV=testing || SET \"NODE_ENV=testing\" && jest --detectOpenHandles",
"test:watch": "export NODE_ENV=testing || SET \"NODE_ENV=testing\" && jest --detectOpenHandles --forceExit --watchAll",
"test:coverage": "export NODE_ENV=testing || SET \"NODE_ENV=testing\" && jest --coverage --detectOpenHandles",
"typecheck": "tsc --noEmit",
"check-format": "prettier --check .",
"check-lint": "eslint . --ext ts --ext tsx",
"format": "prettier --write 'src/**/*.ts'",
"test-all": "npm run format && npm run check-lint && npm run typecheck && npm run test && npm run build"
},
"keywords": [],
"author": "saddamarbaa (https://github.com/saddamarbaa)",
"repository": {
"type": "git",
"url": "https://github.com/saddamarbaa/node-express-mongodb-typescript-blog-rest-api"
},
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"dependencies": {
"@types/cookie-parser": "^1.4.8",
"@types/swagger-jsdoc": "^6.0.4",
"@types/yamljs": "^0.2.34",
"bcrypt": "^5.1.1",
"check-lint": "^0.1.7",
"cloudinary": "^2.5.1",
"colors": "^1.4.0",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"dotenv-safe": "^9.1.0",
"express": "^4.21.1",
"helmet": "^8.0.0",
"http-errors": "^2.0.0",
"husky": "^9.1.7",
"joi": "^17.13.3",
"joi-objectid": "^4.0.2",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.8.3",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"node-fetch": "^3.3.2",
"resend": "^4.0.1",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"tsconfig-paths": "^4.2.0",
"uuid": "^11.0.3",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/cors": "^2.8.17",
"@types/dotenv-safe": "^8.1.6",
"@types/express": "^4.17.20",
"@types/http-errors": "^2.0.4",
"@types/jest": "^29.5.13",
"@types/jsonwebtoken": "^9.0.7",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.12",
"@types/node": "^22.7.5",
"@types/supertest": "^6.0.2",
"@types/swagger-ui-express": "^4.1.7",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"import-sort-parser-typescript": "^6.0.0",
"import-sort-style-module": "^6.0.0",
"jest": "^29.7.0",
"nodemon": "^3.1.7",
"prettier": "^3.4.2",
"pretty-quick": "^4.0.0",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
}
}