-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.11 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
{
"name": "social-media-app-backend",
"version": "1.0.0",
"description": "",
"main": "src/server.ts",
"scripts": {
"test:unit": "cross-env NODE_ENV=test ts-mocha 'test/unit/*.ts' --exit",
"test:integration": "cross-env NODE_ENV=test ts-mocha 'test/integration/*.ts' --exit --timeout=10000",
"test": "npm run test:unit && npm run test:integration",
"coverage": "nyc --reporter=text npm test",
"build": "tsc",
"dev": "nodemon --watch src --files",
"start": "node -r dotenv/config dist/server.js",
"start:production": "node dist/server.js",
"lint": "eslint --ignore-path .eslintignore --ext .js,.ts"
},
"nyc": {
"exclude": [
"src/express.ts",
"src/server.ts",
"src/config",
"test"
]
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.1.1",
"body-parser": "^1.20.2",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"express": "^4.18.2",
"express-jwt": "^8.4.1",
"formidable": "^3.5.1",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"mongoose": "^8.0.3"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/chai": "^4.3.11",
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.6",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/formidable": "^3.4.5",
"@types/jsonwebtoken": "^9.0.5",
"@types/lodash": "^4.14.202",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.4",
"@types/sinon": "^17.0.2",
"@types/sinon-test": "^2.4.6",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"chai": "^4.3.10",
"chai-http": "^4.4.0",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"mocha": "^10.2.0",
"nodemon": "^3.0.2",
"nyc": "^15.1.0",
"prettier": "3.1.1",
"sinon": "^17.0.1",
"sinon-test": "^3.1.5",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}