-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
66 lines (66 loc) · 1.59 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
{
"name": "question",
"version": "0.0.0",
"description": "question service for ansopedia",
"main": "index.js",
"scripts": {
"build": "tsc",
"dev": "nodemon",
"lint": "eslint src",
"prepare": "husky install",
"pretest": "pnpm build",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"prod": "set NODE_ENV=production&& pnpm build && pnpm start",
"start": "node ./build/index.js",
"test": "jest"
},
"keywords": [
"question",
"ansopedia"
],
"author": "ansopedia",
"license": "ISC",
"dependencies": {
"cloudinary": "^2.0.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-fileupload": "^1.4.0",
"express-validator": "^7.0.1",
"mongodb": "^6.3.0",
"mongoose": "^8.0.4",
"pino": "^8.17.2",
"pino-http": "^9.0.0"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/express-fileupload": "^1.4.4",
"@types/jest": "^29.5.11",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"eslint": "^8.56.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"mongodb-memory-server": "^9.1.6",
"nodemon": "^3.0.2",
"prettier": "^3.2.1",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,jsx,tsx,md}": [
"prettier --write",
"eslint --fix"
]
}
}