-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
89 lines (89 loc) · 2.39 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "uni-forum-api",
"version": "0.0.1",
"description": "RESTful API for a forum site.",
"main": "server.ts",
"scripts": {
"test": "cross-env NODE_ENV=testing mocha --require ts-node/register --require ./test/global-fixtures.ts ./test/* --colors --exit",
"test:dev": "cross-env NODE_ENV=testing mocha --require ts-node/register --require ./test/global-fixtures.ts --colours --watch --watch-files test, test/**/*.test.ts",
"coverage": "cross-env NODE_ENV=testing nyc npm run test",
"start": "ts-node server.ts",
"dev": "nodemon server.ts",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SE701-T5/Backend.git"
},
"keywords": [
"forum",
"application",
"api"
],
"author": "SE701-T5/backend team",
"license": "MIT",
"bugs": {
"url": "https://github.com/SE701-T5/Backend/issues"
},
"homepage": "https://github.com/SE701-T5/Backend#readme",
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/convict": "^6.1.1",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/joi": "^17.2.3",
"@types/mocha": "^9.1.0",
"@types/mongoose": "^5.11.97",
"@types/multer": "^1.4.7",
"@types/node": "^17.0.22",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"assert": "^2.0.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"mocha": "^9.2.2",
"mongodb-memory-server": "^8.4.1",
"nodemon": "^2.0.15",
"nyc": "^15.1.0",
"prettier": "2.6.0",
"supertest": "^6.2.2",
"ts-node": "^10.7.0"
},
"dependencies": {
"@faker-js/faker": "^6.1.1",
"body-parser": "^1.19.2",
"convict": "^6.2.1",
"cors": "^2.8.5",
"express": "^4.17.3",
"http-status-codes": "^2.2.0",
"joi": "^17.6.0",
"mongoose": "^6.2.6",
"multer": "^1.4.4",
"pino-http": "^6.6.0",
"pino-pretty": "^7.6.0",
"promise": "^8.1.0",
"sinon": "^13.0.1"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts"
],
"reporter": [
"html"
],
"all": true
}
}