-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.43 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
{
"name": "server",
"version": "0.1.0",
"engines": {
"node": "18.x"
},
"private": true,
"description": "Template for ExpressJS API with Mongoose for Web and Mobile Engineering (DIT342)",
"main": "./app.js",
"scripts": {
"start": "node ./app.js",
"dev": "nodemon ./app.js",
"lint": "eslint .",
"test": "cross-env-shell MONGODB_URI=mongodb://127.0.0.1:27017/serverTestDB \"npm run newman-server\"",
"ci-test": "npm run newman-server",
"newman-server": "cross-env-shell PORT=3001 \"npm run dropdb && run-p --race start newman-wait\"",
"newman-wait": "wait-on http://127.0.0.1:3001/api && npm run newman",
"newman": "newman run ./tests/server.postman_collection.json --env-var host=http://127.0.0.1:3001",
"dropdb": "node ./tests/dropdb.js"
},
"repository": {
"type": "git",
"url": "git+https://gitlab.com/dit342/group-00-web.git"
},
"dependencies": {
"bcrypt": "^5.1.1",
"body-parser": "^1.20.2",
"connect-history-api-fallback": "^1.6.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"eslint": "^8.48.0",
"express": "^4.17.1",
"express-session": "^1.17.3",
"jsonwebtoken": "^9.0.2",
"method-override": "^3.0.0",
"mongoose": "^7.4.4",
"morgan": "^1.10.0"
},
"devDependencies": {
"cross-env": "^7.0.3",
"newman": "^5.3.2",
"nodemon": "^2.0.12",
"npm-run-all": "^4.1.5",
"wait-on": "^5.3.0"
}
}