-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.53 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 3.53 KB
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
{
"name": "plgd-client-application",
"version": "3.0.0",
"private": true,
"dependencies": {
"@emotion/babel-plugin": "^11.11.0",
"@emotion/babel-preset-css-prop": "^11.11.0",
"@emotion/react": "^11.11.1",
"@reduxjs/toolkit": "^1.9.7",
"cross-env": "^7.0.3",
"history": "^5.3.0",
"lodash": "^4.17.21",
"oidc-client": "^1.11.5",
"oidc-react": "^3.2.2",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^9.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-intl": "^5.25.1",
"react-intl-po": "^2.2.2",
"react-redux": "^8.1.3",
"react-router-dom": "^6.30.3",
"react-scripts": "5.0.1",
"redux": "^4.2.1",
"redux-batched-actions": "^0.5.0",
"redux-persist": "^6.0.0",
"web-vitals": "^3.5.0"
},
"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@babel/preset-env": "^7.23.5",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@craco/craco": "^7.1.0",
"@formatjs/cli": "^6.2.4",
"@formatjs/ts-transformer": "^3.13.9",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.10",
"@types/lodash": "^4.14.202",
"@types/node": "^20.10.3",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@types/react-helmet": "^6.1.11",
"@typescript-eslint/parser": "^6.13.2",
"babel-plugin-formatjs": "^10.5.10",
"eslint": "8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-react-app": "^7.0.1",
"eslint-formatter-pretty": "^5.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"npm-run-all": "^4.1.5",
"prettier": "3.1.0",
"react-app-alias-ex": "^2.1.0",
"sass": "^1.69.5",
"shelljs": "^0.8.5",
"typescript": "^4.9.4",
"webpack": "^5.89.0"
},
"overrides": {
"react-refresh": "0.11.0"
},
"scripts": {
"start": "npm run generate-language-files && craco start",
"build": "npm run generate-language-files && craco build",
"test": "craco test",
"eject": "react-scripts eject",
"generate-pot": "node ./scripts/generate-pot.js",
"generate-language-files": "node ./scripts/generate-language-files.js",
"lint": "npm-run-all :lint:eslint :lint:prettier",
":lint:eslint": "eslint --ext .js,.jsx,.ts,.tsx -c .eslintrc.js --max-warnings 0 --format=pretty ./src",
":lint:prettier": "prettier ./src --check",
":generate:theme": "npm run :generate:theme -w @plgd/shared-ui"
},
"workspaces": [
"./packages/*"
],
"scriptComments": {
"generate-pot": "Examines all src js files and extracts the translate keys into a .pot file, to be used in a translation tool outside of this app.",
"generate-language-files": "Applies the .po and .pot files in i18n folder to create the final languages.json (translated strings) file to be used at run-time in the application."
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}