forked from pagopa/selfcare-common-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 4.4 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
126
127
128
129
{
"name": "@pagopa/selfcare-common-frontend",
"description": "Shared React components for the pagopa selfcare project",
"version": "1.13.8",
"license": "MIT",
"repository": "https://github.com/pagopa/selfcare-common-frontend",
"author": "https://www.pagopa.gov.it",
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
"@mui/icons-material": "^5.8.2",
"@mui/lab": "^5.0.0-alpha.80",
"@mui/material": "^5.8.2",
"@mui/system": "^5.8.1",
"@pagopa/mui-italia": "^0.8.8",
"@pagopa/ts-commons": "^10.2.1",
"@reduxjs/toolkit": "^1.6.2",
"@types/lodash": "^4.14.172",
"@types/mixpanel-browser": "^2.38.0",
"@types/node": "^12.20.19",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"@types/react-router-dom": "^5.1.8",
"@types/redux-logger": "^3.0.9",
"@types/validator": "13.7.0",
"async": "2.6.4",
"core-js": "^3.20.2",
"env-var": "^7.1.1",
"fp-ts": "^2.11.5",
"i18next": "^21.6.14",
"io-ts": "^2.2.16",
"lodash": "^4.17.21",
"mixpanel-browser": "^2.43.0",
"nth-check": "2.0.1",
"react": "^17.0.2",
"react-app-polyfill": "^3.0.0",
"react-dom": "^17.0.2",
"react-i18next": "^11.15.6",
"react-md-spinner": "^1.0.0",
"react-redux": "^7.2.6",
"react-router-dom": "^5.2.0",
"react-scripts": "5.0.0",
"redux-logger": "^3.0.6",
"typescript": "^4.3.5",
"validator": "13.7.0",
"web-vitals": "^1.1.2"
},
"scripts": {
"clean": "npm-run-all clean:*",
"setTsConfigStart": "copyfiles tsconfigStart.json build && renamer --replace tsconfig.json build/tsconfigStart.json && copyfiles -u 1 build/tsconfig.json . && rimraf build/tsconfig.json",
"start": "yarn setTsConfigStart && react-scripts start",
"build": "yarn setTsConfigStart && react-scripts build",
"clean:build": "rimraf build",
"setTsConfigDist": "copyfiles tsconfigDist.json build && renamer --replace tsconfig.json build/tsconfigDist.json && copyfiles -u 1 build/tsconfig.json . && rimraf build/tsconfig.json",
"cpDistStatic": "copyfiles -u 2 src/lib/index.css src/lib/utils/fixSwagger20ArraySchemaDef.js dist && copyfiles package.json README.md CHANGELOG.md dist",
"dist": "yarn setTsConfigDist && tsc && yarn cpDistStatic",
"clean:dist": "rimraf dist",
"test": "yarn setTsConfigStart && react-scripts test -i",
"test:coverage": "react-scripts test -i --coverage",
"clean:coverage": "rimraf coverage",
"lint-autofix": "yarn setTsConfigStart && eslint . -c .eslintrc.js --ext .ts,.tsx --fix",
"lint": "yarn setTsConfigStart && eslint . -c .eslintrc.js --ext .ts,.tsx ",
"prettify": "prettier --write \"./**/*.{ts,tsx}\"",
"version": "auto-changelog -p --config .auto-changelog.json && git add CHANGELOG.md"
},
"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": {
"@pagopa/openapi-codegen-ts": "^10.0.6",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"api-spec-converter": "^2.12.0",
"auto-changelog": "^2.3.0",
"copyfiles": "^2.4.1",
"eslint": "7.11.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-functional": "^3.7.2",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-sonarjs": "^0.10.0",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"regex-replace": "^2.3.1",
"renamer": "^4.0.0",
"rimraf": "^3.0.2"
},
"jest": {
"restoreMocks": true,
"clearMocks": true,
"resetMocks": true,
"coveragePathIgnorePatterns": [
"src/index.tsx",
"src/reportWebVitals.ts",
"src/api/generated",
"src/examples/*",
"src/AppExample.tsx",
"src/lib/utils/fixSwagger20ArraySchemaDef.js",
"src/lib/common-polyfill.ts",
"src/lib/index.ts",
"src/lib/components/icons/*",
"src/lib/model/*"
]
}
}