-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.18 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
{
"name": "app",
"version": "0.1.0",
"private": true,
"dependencies": {
"lerna": "^3.16.4",
"parcel": "^1.12.3"
},
"workspaces": {
"packages": [
"packages/frontend",
"packages/server"
]
},
"scripts": {
"build-frontend": "lerna run build"
},
"devDependencies": {
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^3.6.0",
"typescript": "^3.5.3"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleNameMapper": {
"@/([^\\.]*)$": "<rootDir>/src/$1",
"^.+\\.(jpg|png|css|less)$": "<rootDir>/src/frontend/test-utils/empty-module.ts"
},
"transform": {
"\\.(ts|tsx|js)$": "babel-jest"
},
"globals": {
"ts-jest": {
"useBabelrc": true
},
"jsdom": true
},
"testRegex": "(/__tests__/.*|\\.*(test))\\.(ts|tsx|js)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/node_modules/",
"<rootDir>/build/",
"<rootDir>/dist/"
],
"setupTestFrameworkScriptFile": "<rootDir>/src/frontend/test-utils/test-setup.js",
"testEnvironment": "jest-environment-jsdom-global",
"testURL": "http://localhost/"
}
}