-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (58 loc) · 1.67 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
{
"name": "auto-page-press",
"version": "1.0.0",
"description": "on wordpress automate page creation ",
"main": "backend/index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "SERVER_MODE=Production node backend/server.js",
"dev": "SERVER_MODE=Development nodemon backend/server.js",
"lint:backend": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:client": "cd client && eslint src --ext .js,.jsx",
"lint": "npm run lint:backend && npm run lint:client",
"lint:fix": "npm run lint:backend -- --fix && npm run lint:client -- --fix",
"prettier:fix": "prettier --write .",
"format": "npm run lint:fix && npm run prettier:fix",
"prepare": "husky install"
},
"author": "usman",
"license": "ISC",
"dependencies": {
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.5.1",
"validator": "^13.12.0",
"wordpress": "^1.4.2"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin": "^1.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.0",
"lint-staged": "^15.2.7",
"nodemon": "^3.1.4",
"prettier": "^3.3.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run lint && npm run format"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run lint",
"npm run format"
]
}
}