This repository has been archived by the owner on Feb 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
163 lines (163 loc) · 4.82 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "react-starter-toolkit",
"description": "This repository is a starter project that use React Toolkit Axa and CRA.",
"version": "0.5.4",
"private": true,
"type": "module",
"scripts": {
"start": "cross-env GENERATE_SOURCEMAP=false craco start",
"build": "cross-env GENERATE_SOURCEMAP=false craco build",
"preview": "cross-env REACT_APP_NODE_ENV=production.local craco build && serve -s build -p 5002",
"test": "craco test --watchAll=false --maxWorkers 2",
"test:sonar": "craco test --testResultsProcessor ./node_modules/jest-sonar-reporter",
"cover:local": "npm t -- --coverage",
"cover": "npm t -- --coverage --silent",
"lint": "eslint ./src/",
"lint:fix": "npm run lint --fix",
"precommit": "npm run lint:fix && git add .",
"prepare": "husky install",
"cz": "cz",
"prettier": "prettier --check src",
"prettier:fix": "prettier --write src",
"check": "npm run prettier && npm run lint",
"clean": "cd ./scripts && npm i && npm start && cd .. && npx rimraf ./scripts"
},
"dependencies": {
"@axa-fr/react-oidc": "6.19.2",
"@axa-fr/react-toolkit-all": "2.0.0",
"@axa-fr/react-toolkit-core": "2.0.0",
"@babel/parser": "7.22.4",
"@popperjs/core": "2.11.8",
"@tanstack/react-query": "4.29.12",
"@tanstack/react-query-devtools": "4.29.12",
"@types/downloadjs": "1.4.3",
"@types/intl": "1.2.0",
"@types/jest": "29.5.2",
"@types/lodash": "4.14.195",
"@types/node": "20.2.5",
"@types/react": "18.2.9",
"@types/react-dom": "18.2.4",
"@types/react-router": "5.1.20",
"@types/react-router-dom": "5.3.3",
"@uiw/react-textarea-code-editor": "2.1.1",
"axe-core": "4.7.2",
"browserslist": "4.21.7",
"cross-fetch": "3.1.6",
"downloadjs": "1.4.7",
"github-markdown-css": "5.2.0",
"jest-cucumber": "3.0.1",
"lodash": "4.17.21",
"prism-react-renderer": "2.0.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-draggable": "4.4.5",
"react-hook-form": "7.44.3",
"react-json-view": "1.21.3",
"react-jsx-parser": "1.29.0",
"react-live": "4.1.2",
"react-markdown": "8.0.7",
"react-router-dom": "6.12.0",
"react-scripts": "5.0.1",
"rehype-slug": "5.1.0",
"remark-gfm": "3.0.1"
},
"devDependencies": {
"@babel/eslint-parser": "7.21.8",
"@commitlint/cli": "17.6.5",
"@commitlint/config-conventional": "17.6.5",
"@craco/craco": "7.1.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "14.0.0",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "14.4.3",
"@typescript-eslint/eslint-plugin": "5.59.9",
"@typescript-eslint/parser": "5.59.9",
"commitizen": "4.3.0",
"cross-env": "7.0.3",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.42.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.8.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "8.0.3",
"intl": "1.2.5",
"jest-sonar-reporter": "2.0.0",
"msw": "1.2.1",
"precise-commits": "1.0.2",
"prettier": "2.8.8",
"sass": "1.63.2",
"typescript": "5.1.3",
"webpack-bundle-analyzer": "4.9.0",
"whatwg-fetch": "3.6.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"rootDir": "./",
"jest": {
"coverageReporters": [
"json",
"lcov",
"text",
"clover"
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.{js,jsx,mjs,ts,tsx}",
"!<rootDir>/src/**/index.{js,ts,tsx}",
"!<rootDir>/src/**/constants.{js,ts}",
"!<rootDir>/src/**/*.stories.{js,ts}",
"!<rootDir>/node_modules/",
"!<rootDir>/src/shared/testsUtils/**/*.{js,ts,tsx}",
"!<rootDir>/src/**/__tests__/*.{js,ts}",
"!<rootDir>/src/**/*.d.ts"
],
"testMatch": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[jt]s?(x)",
"!**/__tests__/*.mock.{js,ts}"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"clearMocks": true,
"resetMocks": false
},
"resolutions": {
"@babel/parser": "7.22.4"
},
"repository": {
"type": "git",
"url": "https://github.com/samuel-gomez/react-starter-toolkit.git"
},
"license": "MIT"
}