-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
52 lines (52 loc) · 1.62 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
{
"name": "bombers",
"version": "0.1.0",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"jest": {
"rootDir": ".",
"transform": {
".+\\.(png|jpg|svg)$": "jest-transform-stub",
".+\\.(css|scss)$": "<rootDir>/tests/ui/stylesMock.js",
".(ts|tsx)": "ts-jest"
},
"testRegex": "spec\\.tsx?$",
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/ui/setupEnzyme.ts"
]
},
"scripts": {
"test": "jest --detectOpenHandles --testEnvironment=node",
"dev:client": "yarn workspace @bombers/client dev",
"dev:app-server": "yarn workspace @bombers/app-server dev",
"dev:game-server": "yarn workspace @bombers/game-server dev",
"prod:client": "yarn workspace @bombers/client build",
"prod:app-server": "yarn workspace @bombers/app-server serve",
"prod:game-server": "yarn workspace @bombers/game-server prod"
},
"devDependencies": {
"@types/enzyme": "^3.10.8",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^26.0.22",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"jest": "^26.6.3",
"jest-transform-stub": "^2.0.0",
"ts-jest": "^26.5.6"
},
"dependencies": {
"@types/react": "^17.0.5",
"@types/react-dom": "^17.0.9",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"redux-mock-store": "^1.5.4"
}
}