-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.31 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.31 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
{
"name": "task-timr",
"version": "1.0.0",
"description": "Alternative frontend for Timr.com time tracking",
"main": "static/js/main.js",
"scripts": {
"test": "jest --coverage",
"test:watch": "jest --watch",
"test:duration": "jest test_duration_parsing.js",
"test:frontend": "jest tests/frontend/",
"test:all": "jest --coverage --verbose"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.27.2",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^22.1.0"
},
"jest": {
"testEnvironment": "jsdom",
"collectCoverageFrom": [
"static/js/**/*.js",
"!static/js/**/*.min.js"
],
"testMatch": [
"**/test_*.js",
"**/tests/**/*.test.js",
"!**/test_helpers.js"
],
"testPathIgnorePatterns": [
"tests/frontend/test_helpers.js"
],
"coverageDirectory": "coverage",
"setupFiles": [
"<rootDir>/tests/frontend/setup.js"
],
"setupFilesAfterEnv": [],
"coverageReporters": [
"text",
"lcov",
"html"
],
"verbose": true,
"transform": {
"^.+\\.js$": "babel-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!(module-that-needs-to-be-transformed)/)"
]
}
}