-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
59 lines (59 loc) · 1.59 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
{
"name": "razzle-examples-with-typescript",
"version": "0.8.12",
"license": "MIT",
"scripts": {
"start": "razzle start",
"build": "razzle build",
"test": "razzle test --env=jsdom",
"start:prod": "NODE_ENV=production node build/server.js"
},
"dependencies": {
"express": "^4.15.3",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-loadable": "^5.3.1",
"react-router-dom": "^4.2.2",
"styled-components": "^3.2.1"
},
"devDependencies": {
"@types/express": "^4.0.35",
"@types/jest": "^20.0.1",
"@types/node": "^8.0.53",
"@types/react": "^16.0.9",
"@types/react-dom": "^16.0.0",
"@types/react-loadable": "^5.3.3",
"@types/react-router-dom": "^4.2.3",
"@types/webpack-env": "^1.13.2",
"jest": "20.0.0",
"raf": "^3.4.0",
"razzle": "^0.8.12",
"ts-jest": "20.0.6",
"ts-loader": "2.3.4",
"tslint": "5.8.0",
"tslint-consistent-codestyle": "^1.12.0",
"tslint-loader": "^3.5.3",
"tslint-react": "^3.2.0",
"typescript": "2.5.1"
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js",
"^.+\\.css$": "<rootDir>/node_modules/razzle/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/node_modules/razzle/config/jest/fileTransform.js"
},
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.(ts|js)?(x)",
"<rootDir>/src/**/?(*.)(spec|test).(ts|js)?(x)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
]
}
}