-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 2.91 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
{
"name": "big_data_energy_fe_crash_course_ui",
"version": "0.0.1",
"description": "This is the description of my app. You can do great things with it!",
"main": "src/index.js",
"private": true,
"license": "UNLICENSED",
"engines": {
"node": "^18",
"yarn": "*"
},
"scripts": {
"build": "webpack --config=./config-overrides.js --mode production",
"start": "webpack-dev-server --config=./config-overrides.js --open --mode development",
"zip": "create-corva-app zip .",
"lint": "eslint --cache ./src/",
"release": "create-corva-app release .",
"test": "jest",
"coverage": "jest --coverage"
},
"dependencies": {
"@corva/ui": "latest",
"@material-ui/core": "4.11.2",
"@material-ui/icons": "4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
"@material-ui/pickers": "3.2.10",
"classnames": "2.2.6",
"corva-convert-units": "1.10.33",
"highcharts": "8.1.2",
"highcharts-react-official": "2.2.2",
"lodash": "^4.17.4",
"mapbox.js": "3.2.1",
"moment": "2.29.4",
"moment-timezone": "0.5.43",
"react": "17.0.1",
"react-dom": "17.0.1"
},
"devDependencies": {
"@corva/dc-platform-shared": "latest",
"@corva/eslint-config-browser": "latest",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^13.2.1",
"jest-watch-typeahead": "^1.0.0",
"jest": "^27.4.3",
"babel-jest": "^27.4.2",
"babel-preset-react-app": "^10.0.1",
"eslint": "7.32.0",
"postcss-loader": "4.1.0"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"coverageThreshold": {
"global": {
"branches": 60,
"functions": 60,
"lines": 60,
"statements": 60
}
},
"setupFilesAfterEnv": [
"<rootDir>/config/jest/setupTests.js"
],
"globalSetup": "<rootDir>/config/jest/globalSetup.js",
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"/node_modules/(?!.*@babel/runtime).+\\.(js|jsx|mjs|cjs|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [],
"moduleNameMapper": {
"~(.*)": "<rootDir>/src/$1",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
"@corva/ui(.*)": "@corva/ui/cjs-bundle/$1"
},
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
],
"resetMocks": true
}
}