-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
125 lines (125 loc) · 3.64 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
121
122
123
124
125
{
"name": "client-summary-cwa",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.1.0",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-scripts": "3.2.0",
"reactstrap": "^8.0.1",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0",
"single-spa": "^4.4.1",
"single-spa-react": "^2.10.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"prod": "webpack --env.mode production",
"serve": "serve -s dist",
"test": "react-scripts test --env=jsdom",
"update-snap": "react-scripts test -u --watchAll=false",
"testCI": "react-scripts test --watchAll=false --coverage --reporters=default --reporters=jest-junit",
"coverage": "yarn test --coverage --watchAll=false && yarn open-coverage",
"open-coverage": "open ./coverage/lcov-report/index.html",
"sonarqube": "sonarqube-scanner-node",
"eslint": "eslint --fix 'src/**/*.{ts,tsx}'"
},
"husky": {
"hooks": {
"pre-push": "yarn coverage && yarn eslint"
}
},
"jest-junit": {
"suiteName": "jest tests",
"output": "coverage/junit.xml",
"classNameTemplate": "{classname} - {title}",
"titleTemplate": "{classname} - {title}",
"ancestorSeparator": " > ",
"usePathForSuiteName": "true"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-syntax-jsx": "^7.2.0",
"@babel/plugin-syntax-typescript": "^7.3.3",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@types/enzyme": "^3.10.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/enzyme-to-json": "^1.5.3",
"@types/jest": "24.0.15",
"@types/node": "12.6.0",
"@types/react": "16.8.23",
"@types/react-dom": "16.8.4",
"@types/react-redux": "^7.1.1",
"@types/react-router": "^5.0.3",
"@types/react-router-dom": "^4.3.4",
"@types/reactstrap": "^8.0.1",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"babel-loader": "^8.0.6",
"babel-plugin-transform-class-properties": "^6.24.1",
"compression-webpack-plugin": "^3.0.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.3.5",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.2.0",
"husky": "^3.0.9",
"jest-junit": "^6.4.0",
"prettier": "^1.18.2",
"react-test-renderer": "^16.8.6",
"redux-devtools-extension": "^2.13.8",
"redux-mock-store": "^1.5.4",
"sonarqube-scanner-node": "0.0.10",
"typescript": "^3.6.4",
"webpack-cli": "^3.3.9",
"webpack-merge": "^4.2.2"
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"coverageThreshold": {
"global": {
"branches": 1,
"functions": 1,
"lines": 1,
"statements": 1
}
},
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/store/applicationStore.ts",
"!src/*.{d.ts}",
"!node_modules/",
"!src/serviceWorker.ts",
"!src/react-app-env.d.ts",
"!src/**/index.{ts,tsx}",
"!src/**/I[A-Z]*.ts",
"!src/shared/store/applicationStore.ts",
"!src/App.tsx",
"!**/coverage/**"
]
}
}