-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
59 lines (59 loc) · 1.57 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
{
"name": "api-tests-jest-supertest-example",
"version": "2.0.0",
"repository": {
"type": "git",
"url": "[email protected]:WarleyGabriel/api-tests-jest-supertest-example.git"
},
"author": "Warley Gabriel da Paixão",
"scripts": {
"build": "rm -rf ./dist && npx tsc && cp -R ./src/test/response ./dist/",
"build:watch": "npx tsc -w",
"code:format": "eslint . --ext .ts && prettier --check \"src/**/*.ts*\" --write",
"commit": "cz",
"test": "jest ./dist/specs/*.js --testTimeout 30000",
"test:watch": "jest ./dist/specs/*.js --watch --testTimeout 30000"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"chance": "1.1.7",
"http-status-codes": "2.1.4",
"jest": "^26.6.3",
"jest-stare": "^2.2.0",
"supertest": "6.0.1"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/chance": "^1.1.1",
"@types/jest": "^26.0.20",
"@types/node": "14.14.20",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.17.0",
"husky": "4.3.7",
"prettier": "2.2.1",
"typescript": "^4.1.3"
},
"jest": {
"reporters": [
"default",
[
"jest-stare",
{
"resultDir": "output",
"reportTitle": "API Test Report",
"additionalResultsProcessors": [
"jest-junit"
]
}
]
]
}
}