-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.6 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 1.6 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
{
"name": "color-display-app",
"version": "1.0.0",
"description": "A simple Node.js app to display colors",
"main": "app.js",
"scripts": {
"start": "node app.js",
"dev": "nodemon app.js",
"test": "jest --verbose --coverage --detectOpenHandles --testTimeout=10000",
"test:watch": "jest --watch --verbose --detectOpenHandles --testTimeout=10000",
"test:ci": "jest --ci --runInBand --detectOpenHandles --testTimeout=10000",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --verbose",
"lint": "eslint .",
"build": "echo 'Building application...'",
"prepare": "husky install"
},
"dependencies": {
"express": "^4.18.2"
},
"devDependencies": {
"@babel/core": "^7.22.1",
"@babel/preset-env": "^7.22.4",
"babel-jest": "^29.5.0",
"eslint": "^8.0.0",
"husky": "^8.0.0",
"jest": "^29.5.0",
"nodemon": "^3.0.1",
"supertest": "^6.3.3",
"jest-html-reporter": "^3.6.0"
},
"babel": {
"presets": ["@babel/preset-env"]
},
"jest": {
"testEnvironment": "node",
"setupFilesAfterEnv": ["./test/setup.js"],
"testTimeout": 10000,
"coverageReporters": [
"text",
"html",
"lcov"
],
"reporters": [
"default",
[
"jest-html-reporter",
{
"pageTitle": "Color App Test Report",
"outputPath": "test-report.html",
"includeFailureMsg": true,
"includeConsoleLog": true
}
]
],
"collectCoverageFrom": [
"**/*.js",
"!**/node_modules/**",
"!**/test/**",
"!**/coverage/**"
]
}
}