-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
67 lines (67 loc) · 1.86 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
{
"name": "gorest-api-test",
"version": "1.0.0",
"description": "API Integration Test framework",
"main": "index.js",
"scripts": {
"tslint": "tslint -c tslint.json -p tsconfig.json --fix",
"tsc": "tsc -w",
"test": "node_modules/.bin/mocha-parallel-tests 'dist/specs/*.js'",
"test_local": "yarn run resetDb && export NODE_ENV=LOCAL && node_modules/.bin/mocha-parallel-tests dist/specs/*.spec.js",
"server": "node_modules/.bin/nodemon dist/data/mocks/server.js",
"resetDb": "node dist/util/resetDb.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/chai-json-schema": "^1.4.6",
"@types/json-server": "^0.14.2",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.13",
"@types/qs": "^6.9.3",
"json-server": "^0.16.1",
"nodemon": "^2.0.4",
"ts-node": "^8.10.2",
"tslint": "^6.1.2",
"tslint-no-unused-expression-chai": "^0.1.4",
"typescript": "^3.9.5"
},
"dependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/node": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@babel/register": "^7.10.1",
"ajv": "^6.12.2",
"axios": "^0.21.2",
"babel-polyfill": "^6.26.0",
"chai": "^4.2.0",
"chai-json-schema-ajv": "^5.0.0",
"dotenv": "^8.2.0",
"mocha": "^7.2.0",
"mocha-parallel-tests": "^2.3.0",
"mochawesome": "^6.1.1",
"qs": "^6.9.4",
"regenerator-runtime": "^0.13.5"
},
"mocha": {
"require": [
"dotenv/config",
"@babel/register"
],
"timeout": 5000,
"retries": 2,
"reporter": "node_modules/mochawesome",
"reporter-option": [
"overwrite=true",
"reportTitle=API Test Report",
"reportPageTitle=API Test Report",
"reportDir=test_report",
"reportFilename=test_report",
"json=false",
"quiet=true"
]
}
}