-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.6 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.6 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
{
"name": "nodejs-boilerplate",
"version": "1.0.0",
"description": "Simple and lightweight Node.js boilerplate for building basic backend APIs",
"main": "src/server.js",
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"prepare": "husky install",
"start": "cross-env NODE_ENV=production node src/server.js",
"dev": "cross-env NODE_ENV=development nodemon src/server.js",
"qa": "cross-env NODE_ENV=qa node src/server.js",
"staging": "cross-env NODE_ENV=staging node src/server.js",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write \"src/**/*.js\"",
"build": "npm run lint && npm run format"
},
"keywords": [
"nodejs",
"boilerplate",
"express",
"api",
"rest",
"backend"
],
"author": "CodeQuestic",
"license": "MIT",
"dependencies": {
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-rate-limit": "^7.0.0",
"helmet": "^7.0.0",
"mongoose": "^7.5.0",
"morgan": "^1.10.0",
"mysql2": "^3.6.0",
"pg": "^8.11.1"
},
"devDependencies": {
"@types/node": "^20.6.0",
"cross-env": "^10.1.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jest": "^30.3.0",
"lint-staged": "^16.4.0",
"nodemon": "^3.0.1",
"prettier": "^3.0.3",
"supertest": "^7.2.2"
},
"lint-staged": {
"src/**/*.js": [
"eslint --fix",
"prettier --write"
]
}
}