/
package.json
116 lines (116 loc) · 3.77 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "@kayahr/jest-electron-runner",
"version": "29.13.0",
"description": "Jest runner that spawns electron workers instead of node",
"keywords": [
"jest-electron",
"jest-runner",
"jest",
"electron",
"tests"
],
"license": "MIT",
"author": "Klaus Reimer <k@ailis.de>",
"repository": "github:kayahr/jest-electron-runner",
"bugs": "https://github.com/kayahr/jest-electron-runner/issues",
"homepage": "https://github.com/kayahr/jest-electron-runner",
"funding": "https://github.com/kayahr/jest-electron-runner?sponsor=1",
"publishConfig": {
"access": "public"
},
"files": [
"lib",
"src"
],
"scripts": {
"clean": "rimraf lib",
"copyfiles": "copyfiles -u 1 src/**/*.html lib",
"compile": "tsc",
"cspell": "cspell --no-progress",
"lint": "eslint --max-warnings 0 --ext .ts src",
"check": "jest",
"prepare": "npm run clean && npm run compile && npm run copyfiles",
"test": "npm run cspell && npm run lint && npm run check"
},
"jest": {
"projects": [
{
"displayName": "main",
"runner": "./lib/main/electron/TestRunnerMain",
"testEnvironment": "node",
"testEnvironmentOptions": {
"electron": {
"options": [
"js-flags=--expose-gc"
]
}
},
"testMatch": [
"<rootDir>/lib/test/main/**/*.test.js"
]
},
{
"displayName": "renderer",
"runner": "./lib/main/electron/TestRunnerRenderer",
"testEnvironment": "./lib/main/electron/Environment",
"testEnvironmentOptions": {
"electron": {
"options": [
"force-device-scale-factor=7"
]
}
},
"testMatch": [
"<rootDir>/lib/test/renderer/**/*.test.js"
]
}
]
},
"exports": {
".": "./lib/main/electron/TestRunnerRenderer.js",
"./main": "./lib/main/electron/TestRunnerMain.js",
"./environment": "./lib/main/electron/Environment.js"
},
"devDependencies": {
"@kayahr/eslint-config": "2.11.0",
"@types/express": "4.17.21",
"@types/jest": "29.5.12",
"@types/node": "20.12.7",
"@types/node-ipc": "9.2.3",
"@types/shell-quote": "1.7.5",
"@types/source-map-support": "0.5.10",
"@types/uuid": "9.0.8",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"copyfiles": "2.4.1",
"cspell": "8.7.0",
"eslint": "8.57.0",
"eslint-plugin-deprecation": "2.0.0",
"eslint-plugin-simple-import-sort": "12.1.0",
"express": "4.19.2",
"rimraf": "5.0.5",
"typescript": "5.4.5"
},
"dependencies": {
"@electron/remote": "^2.1.2",
"@jest/console": "^29.7.0",
"@jest/transform": "^29.7.0",
"electron": "^30.0.1",
"jest": "^29.7.0",
"jest-docblock": "^29.7.0",
"jest-haste-map": "^29.7.0",
"jest-jasmine2": "^29.7.0",
"jest-leak-detector": "^29.7.0",
"jest-message-util": "^29.7.0",
"jest-mock": "^29.7.0",
"jest-resolve": "^29.7.0",
"jest-runtime": "^29.7.0",
"jest-util": "^29.7.0",
"node-ipc": "^10.1.0",
"shell-quote": "^1.8.1",
"source-map-support": "^0.5.21",
"throat": "^6.0.2",
"tslib": "^2.6.2",
"uuid": "^9.0.1"
}
}