-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
43 lines (43 loc) · 1.78 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
{
"name": "st-sample-project",
"version": "0.1.0",
"description": "Software Testing 2022-23 Sample Test Project",
"main": "server.js",
"scripts": {
"test-unit": "DOTENV_CONFIG_PATH=.env jest --setupFiles dotenv/config -- __tests__/app/app.unit.test.js --forceExit",
"test-performance": "DOTENV_CONFIG_PATH=.env jest --setupFiles dotenv/config -- __tests__/app/app.performance.test.js",
"test-db": "DOTENV_CONFIG_PATH=.env jest --setupFiles dotenv/config -- __tests__/db/db.test.js --forceExit",
"test-api-admin": "DOTENV_CONFIG_PATH=.env jest --setupFiles dotenv/config -- __tests__/api/api.users-admin.test.js --forceExit",
"test-api-simple": "DOTENV_CONFIG_PATH=.env jest --setupFiles dotenv/config -- __tests__/api/api.users-simple.test.js --forceExit",
"test-api-generic": "DOTENV_CONFIG_PATH=.env jest --setupFiles dotenv/config -- __tests__/api/api.users-generic.test.js --forceExit",
"test": "DOTENV_CONFIG_PATH=.env jest --setupFiles dotenv/config --forceExit && node db-cleanup.js",
"performance": "artillery run __tests__/performance/performance-test.yml --output performance.json && node db-cleanup.js",
"report": "artillery report --output performance.html performance.json"
},
"keywords": [
"software",
"testing",
"sample",
"project"
],
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^1.7.7",
"bcrypt": "latest",
"body-parser": "latest",
"cli-table": "latest",
"cors": "latest",
"dotenv": "latest",
"express": "^4.19.2",
"express-flash": "latest",
"express-jwt": "^8.4.1",
"jsonwebtoken": "latest",
"express-session": "latest",
"express-validator": "latest",
"jest": "latest",
"jest-measure": "latest",
"jwks-rsa": "latest",
"mongoose": "^6.10.0"
}
}