-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 2.96 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": "frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"chart.js": "^2.7.0",
"classnames": "^2.2.5",
"material-ui": "^0.19.2",
"react": "^16.0.0",
"react-chartjs-2": "^2.6.2",
"react-dom": "^16.0.0",
"react-redux": "^5.0.6",
"redux": "^3.7.2"
},
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"test": "node scripts/test.js --env=jsdom"
},
"devDependencies": {
"@types/chai": "^4.0.4",
"@types/classnames": "^2.2.3",
"@types/jest": "^21.1.1",
"@types/material-ui": "^0.18.1",
"@types/node": "^8.0.28",
"@types/react": "^16.0.5",
"@types/react-chartjs-2": "^2.0.2",
"@types/react-dom": "^16.0.1",
"@types/react-redux": "^5.0.10",
"autoprefixer": "7.1.5",
"case-sensitive-paths-webpack-plugin": "2.1.1",
"chai": "^4.1.2",
"chalk": "2.1.0",
"css-loader": "0.28.7",
"dotenv": "4.0.0",
"extract-text-webpack-plugin": "3.0.1",
"file-loader": "1.1.5",
"fs-extra": "4.0.2",
"html-webpack-plugin": "2.30.1",
"jest": "21.2.1",
"mocha": "^4.0.1",
"node-sass": "^4.5.3",
"object-assign": "4.1.1",
"postcss-flexbugs-fixes": "3.2.0",
"postcss-loader": "2.0.8",
"promise": "8.0.1",
"react-dev-utils": "^4.0.1",
"sass-loader": "^6.0.6",
"source-map-loader": "^0.2.1",
"style-loader": "0.19.0",
"sw-precache-webpack-plugin": "0.11.4",
"ts-jest": "^21.0.1",
"ts-loader": "^3.0.2",
"tslint": "^5.2.0",
"tslint-loader": "^3.5.3",
"tslint-react": "^3.0.0",
"typescript": "~2.5.3",
"typings-for-css-modules-loader": "^1.5.0",
"url-loader": "0.6.2",
"webpack": "3.8.1",
"webpack-dev-server": "2.9.2",
"webpack-manifest-plugin": "1.3.2",
"whatwg-fetch": "2.0.3"
},
"jest": {
"mapCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
"<rootDir>/src/**/?(*.)(spec|test).ts?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"web.ts",
"ts",
"web.tsx",
"tsx",
"web.js",
"js",
"web.jsx",
"jsx",
"json",
"node"
],
"globals": {
"ts-jest": {
"tsConfigFile": "/Users/weiweilin/Workspace/FIT3036/frontend/tsconfig.test.json"
}
}
},
"babel": {
"presets": [
"react-app"
]
},
"eslintConfig": {
"extends": "react-app"
}
}