-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
120 lines (120 loc) · 3.45 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
117
118
119
120
{
"name": "ts-base",
"version": "0.1.0",
"private": true,
"dependencies": {
"i18next": "^17.0.4",
"lodash": "^4.17.11",
"mini-css-extract-plugin": "^0.7.0",
"normalizr": "^3.4.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-i18next": "^10.11.2",
"react-loadable": "^5.5.0",
"react-redux": "^7.1.0",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-scripts": "3.0.1",
"redux": "^4.0.1",
"redux-observable": "^1.1.0",
"reselect": "^4.0.0",
"rxjs": "^6.5.2",
"webpack": "^4.35.0"
},
"devDependencies": {
"@types/jest": "24.0.15",
"@types/lodash": "^4.14.134",
"@types/node": "12.0.10",
"@types/react": "16.8.22",
"@types/react-dom": "16.8.4",
"@types/react-loadable": "^5.5.1",
"@types/react-redux": "^7.1.1",
"@types/react-router": "^5.0.2",
"@types/react-router-dom": "^4.3.4",
"@types/react-transition-group": "^4.2.2",
"awesome-typescript-loader": "5.2.1",
"babel-core": "6.26.3",
"babel-eslint": "10.0.2",
"babel-jest": "24.8.0",
"babel-loader": "8.0.6",
"babel-plugin-dynamic-import-node": "2.3.0",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-plugin-root-import": "6.2.0",
"babel-plugin-syntax-dynamic-import": "6.18.0",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-object-assign": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"babel-preset-env": "1.7.0",
"babel-preset-react": "6.24.1",
"case-sensitive-paths-webpack-plugin": "^2.2.0",
"copy-webpack-plugin": "^5.0.3",
"file-loader": "4.0.0",
"html-webpack-plugin": "^3.2.0",
"isomorphic-fetch": "^2.2.1",
"node-sass": "^4.13.1",
"react-hot-loader": "^4.11.1",
"react-transition-group": "^4.2.2",
"ts-jest": "^24.0.2",
"ts-loader": "^6.0.4",
"ts-node": "8.3.0",
"tslint": "5.18.0",
"tslint-react": "4.0.0",
"typescript": "3.5.2",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.5",
"webpack-dev-server": "^3.7.2"
},
"scripts": {
"start": "source ./config/development.conf && webpack-dev-server --config ./config/webpack.config.development.ts --history-api-fallback --content-base dist/",
"build": "rm -rf ./dist && NODE_ENV=production webpack --config ./config/webpack.config.production.ts",
"test": "jest"
},
"jest": {
"globals": {
"ts-jest": {
"babelConfig": true
}
},
"setupFilesAfterEnv": [
"<rootDir>/config/jest/setup.js"
],
"testURL": "http://localhost/",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"roots": [
"<rootDir>/src"
],
"testMatch": [
"<rootDir>/src/**/*.test.js?(x)",
"<rootDir>/src/**/*.test.ts?(x)"
],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy",
"^~/(.*)$": "<rootDir>/src/$1"
},
"transform": {
"^.+\\.(js|jsx)$": "babel-jest",
"^.+\\.(ts|tsx)$": "ts-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}