-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.61 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
{
"name": "example-ui-profile",
"version": "0.9.1",
"license": "MIT",
"private": true,
"dependencies": {
"@apollo/client": "3.5.6",
"@sentry/browser": "^7.3.0",
"@types/classnames": "^2.2.9",
"@types/enzyme": "^3.10.5",
"@types/jest": "28.1.3",
"@types/jwt-decode": "^2.2.1",
"@types/node": "12.11.5",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.2",
"@types/react-redux": "^7.1.5",
"@types/react-router-dom": "^5.1.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"await-to-js": "^3.0.0",
"enzyme": "^3.11.0",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-sonarjs": "^0.13.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-react-hooks": "^4.5.0",
"graphql": "^15.4.0",
"graphql.macro": "^1.4.2",
"hds-core": "1.5.1",
"hds-design-tokens": "1.5.1",
"hds-react": "1.5.1",
"http-status-typed": "^1.0.0",
"jest-fetch-mock": "3.0.3",
"jwt-decode": "^3.1.2",
"oidc-client": "1.11.5",
"path": "^0.12.7",
"prettier": "^1.18.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^8.0.2",
"react-router": "^5.3.3",
"react-router-dom": "^5.3.3",
"react-scripts": "5.0.1",
"redux": "^4.2.0",
"redux-starter-kit": "^1.0.0",
"typescript": "^4.7.0"
},
"scripts": {
"start": "yarn run update-runtime-env && react-scripts start",
"build": "react-scripts build",
"test": "cross-env TEST=true yarn run update-runtime-env && react-scripts test",
"test-coverage": "CI=true yarn test --coverage",
"test-coverage-for-sonar": "yarn test-coverage --testResultsProcessor jest-sonar-reporter",
"ci": "cross-env CI=true yarn test --coverage",
"lint": "eslint --ext js,ts,tsx src",
"update-runtime-env": "ts-node -P ./scripts/tsconfig.json --files scripts/update-runtime-env.ts"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/react": "^12.1.5",
"cross-env": "^7.0.3",
"jest-sonar-reporter": "^2.0.0",
"ts-node": "^8.8.2"
},
"jest": {
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!hds-react)/"
]
},
"jestSonar": {
"reportPath": "reports",
"reportFile": "test-report.xml",
"indent": 4
}
}