-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.69 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
{
"name": "selfcare-pnpg-onboarding-frontend",
"version": "1.3.0",
"homepage": "onboarding",
"private": true,
"dependencies": {
"@mui/icons-material": "^5.8.2",
"@mui/lab": "^5.0.0-alpha.80",
"@mui/material": "^5.8.2",
"@mui/x-data-grid": "^5.0.1",
"@mui/x-data-grid-generator": "^5.0.1",
"@pagopa/mui-italia": "^1.1.0",
"@pagopa/selfcare-common-frontend": "^1.34.43",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"axios": "^0.28.0",
"formik": "^2.2.9",
"i18next": "^23.7.11",
"node-fetch": "^3.2.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^11.4.2",
"react-i18next": "^13.5.0",
"react-router-dom": "^5.2.0",
"react-router-hash-link": "^2.4.3",
"react-scripts": "5.0.0",
"react-use-scrollspy": "^3.0.1",
"url": "^0.11.0"
},
"scripts": {
"clean": "npm-run-all clean:*",
"start": "craco start",
"build": "craco build",
"clean:build": "rimraf build",
"test": "craco test -i",
"test:coverage": "craco test -i --coverage",
"clean:coverage": "rimraf coverage",
"eject": "react-scripts eject",
"lint-autofix": "eslint . -c .eslintrc.js --ext .ts,.tsx --fix",
"lint": "eslint . -c .eslintrc.js --ext .ts,.tsx ",
"prettify": "prettier --write \"./**/*.{ts,tsx}\"",
"generate": "npm-run-all generate:*",
"clean:api-b4f-onboarding": "rimraf src/api/generated/b4f-onboarding && rimraf openApi/generated-onboarding",
"generate:api-b4f-onboarding": "yarn run clean:api-b4f-onboarding && mkdirp openApi/generated-onboarding && api-spec-converter --from=openapi_3 --to=swagger_2 openApi/onboarding-api-docs.json > openApi/generated-onboarding/onboarding-swagger20.json && node ./node_modules/@pagopa/selfcare-common-frontend/utils/fixSwagger20ArraySchemaDef.js openApi/generated-onboarding/onboarding-swagger20.json && gen-api-models --api-spec openApi/onboarding-api-docs.json --out-dir src/api/generated/b4f-onboarding --no-strict --request-types --response-decoders --client && node openApi/scripts/api-b4f-onboarding_fixPostGen.js"
},
"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"
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@craco/craco": "^6.4.3",
"@pagopa/openapi-codegen-ts": "^12.1.2",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "12.1.2",
"@testing-library/user-event": "^14.0.4",
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"api-spec-converter": "^2.12.0",
"craco-module-federation": "^1.1.0",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-functional": "^4.2.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-sonarjs": "^0.13.0",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"regex-replace": "^2.3.1",
"rimraf": "^3.0.2"
},
"resolutions": {
"static-eval": "^2.0.2",
"yargs": "^17.5.1",
"jsonpath": "^1.1.1",
"svgo": "^2.8.0",
"json-schema-ref-parser": "^7.1.0",
"z-schema": "^4.2.4",
"body-parser": "^1.20.3"
},
"jest": {
"restoreMocks": true,
"clearMocks": true,
"resetMocks": true,
"coveragePathIgnorePatterns": [
"src/index.tsx",
"src/reportWebVitals.ts",
"src/api/generated"
]
}
}