-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.03 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 2.03 KB
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
{
"name": "jest-express-api-testing-example",
"version": "1.1.0",
"description": "This project demonstrates how to test an Express API using Jest, covering unit tests for controllers, services, routers, and server configuration. It provides a simple, structured example for writing and running tests, generating coverage reports, and integrating Git hooks with Husky. Ideal for developers learning API testing in Node.js, it includes clear instructions for setup, testing, and generating reports. Perfect for building a robust testing workflow in your Express applications.",
"main": "src/index.js",
"directories": {
"test": "test"
},
"engines": {
"node": "=18.17.1"
},
"scripts": {
"start": "node .",
"test": "jest test/**.test.js --verbose --silent",
"test:verbose": "jest test/**.test.js --verbose",
"test:summary": "jest test/**.test.js --silent",
"coverage": "jest test/**.test.js --coverage --silent",
"lint": "npx eslint .",
"postinstall": "husky install",
"another-task": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thamerh/jest-express-api-testing-example.git"
},
"author": "Thamer Hamdi",
"license": "MIT",
"homepage": "https://github.com/thamerh/jest-express-api-testing-example#readme",
"dependencies": {
"axios": "^1.6.5",
"ci": "^2.3.0",
"express": "^4.18.2"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@types/jest": "^29.5.11",
"eslint": "^8.56.0",
"eslint-config-google": "^0.14.0",
"husky": "^8.0.3",
"jest": "^29.7.0"
},
"keywords": [
"jest",
"express",
"api-testing",
"nodejs",
"unit-testing",
"javascript",
"testing-framework",
"coverage-report",
"husky",
"git-hooks",
"integration-testing",
"backend-development",
"test-driven-development",
"tdd",
"javascript-testing",
"nodejs-testing",
"express-testing",
"jest-examples",
"code-coverage",
"developer-tools"
]
}