-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
169 lines (169 loc) · 5.23 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
164
165
166
167
168
169
{
"name": "eduid-front",
"version": "0.1.0",
"description": "",
"browser": "src/entry-points/index.js",
"scripts": {
"start": "rm -rf node_modules/.cache && webpack --watch --progress",
"test": "jest",
"build-development": "rm -rf node_modules/.cache && webpack --progress",
"build-staging": "webpack --config webpack.staging.config.js --mode development",
"build-production": "webpack --config webpack.prod.config.js --mode production",
"translations:extract": "formatjs extract 'src/**/*.{js,ts,tsx}' --ignore 'src/**/*.d.ts' --out-file src/translation/extractedMessages.json --format transifex --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"serve": "webpack-dev-server --open",
"lint": "eslint src",
"lint:fix": "eslint --fix src"
},
"author": "Enrique Pérez Arnaud",
"license": "BSD-2-Clause",
"engines": {
"npm": ">=7.21.0",
"node": ">=16.8.0"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@reduxjs/toolkit": "^1.9.5",
"@ungap/url-search-params": "^0.2.2",
"@xstate/react": "^3.2.2",
"audit-ci": "^6.6.1",
"bootstrap": "^5.3.0",
"final-form": "^4.20.9",
"html-webpack-plugin": "^5.5.3",
"invariant": "^2.2.4",
"mini-create-react-context": "^0.4.1",
"raven-js": "^3.27.2",
"react": "^17.0.2",
"react-accessible-accordion": "^5.0.0",
"react-device-detect": "^2.2.3",
"react-dom": "^17.0.2",
"react-error-boundary": "^3.1.4",
"react-final-form": "^6.5.9",
"react-intl": "^6.4.4",
"react-popper": "^2.3.0",
"react-recaptcha": "^2.3.10",
"react-redux": "^7.2.9",
"react-router-hash-link": "^2.4.3",
"react-script-loader-hoc": "^1.2.2",
"react-select": "^5.7.3",
"react-transition-group": "^4.4.5",
"reactstrap": "^9.2.0",
"redux": "^4.2.1",
"redux-logger": "^4.0.0",
"redux-saga": "^0.16.2",
"spin.js": "^4.1.1",
"tslib": "^2.6.0",
"xstate": "^4.38.0"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/plugin-transform-flow-strip-types": "^7.22.5",
"@babel/plugin-transform-runtime": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@formatjs/cli": "^5.1.13",
"@formatjs/ts-transformer": "^3.13.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^27.5.2",
"@types/node": "^17.0.45",
"@types/react": "^17.0.62",
"@types/react-dom": "^17.0.20",
"@types/react-recaptcha": "^2.3.4",
"@types/react-router-hash-link": "^2.4.6",
"@types/redux-logger": "^3.0.9",
"@types/redux-mock-store": "^1.0.3",
"@types/zxcvbn": "^4.4.1",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"autoprefixer": "^10.4.14",
"babel-jest": "^27.5.1",
"babel-loader": "^9.1.2",
"babel-plugin-formatjs": "10.3.11",
"compression-webpack-plugin": "^10.0.0",
"css-loader": "^6.8.1",
"es6-promise": "^4.2.8",
"eslint": "^8.43.0",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-react": "^7.32.2",
"expect": "^29.5.0",
"jest": "^27.5.1",
"jest-mock": "^27.5.1",
"jquery": "^3.7.0",
"js-cookie": "^3.0.5",
"json-loader": "^0.5.7",
"msw": "^0.47.4",
"postcss-loader": "^7.3.3",
"prop-types": "^15.8.1",
"react-country-flag": "^3.1.0",
"redux-mock-store": "^1.5.4",
"sass": "^1.63.6",
"sass-loader": "^13.3.2",
"style-loader": "^3.3.3",
"stylelint": "^14.16.1",
"stylelint-config-standard-scss": "^4.0.0",
"stylelint-scss": "^4.7.0",
"ts-jest": "^27.1.5",
"ts-loader": "^9.4.4",
"typescript": "^4.7.4",
"webpack": "^5.88.1",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.15.1",
"whatwg-fetch": "^3.6.2",
"zxcvbn": "^4.4.2"
},
"jest": {
"verbose": true,
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx",
"json"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/$1",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/tests/__mocks__/fileMock.js",
"\\.(css|less|sass|scss)$": "<rootDir>/src/tests/__mocks__/styleMock.js"
},
"testEnvironment": "jsdom",
"testMatch": [
"/__tests__/**/*-test.[jt]s?(x)",
"**/?(*)+(test).[jt]s?(x)"
],
"modulePaths": [
"<rootDir>/src/"
],
"transform": {
"^.+\\.[tj]sx?$": "ts-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!spin.js|intl-messageformat|@formatjs/icu-messageformat-parser).+\\.js$"
],
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.ts"
],
"globals": {
"ts-jest": {
"astTransformers": {
"before": [
{
"path": "@formatjs/ts-transformer/ts-jest-integration",
"options": {
"overrideIdFn": "[sha512:contenthash:base64:6]",
"ast": true
}
}
]
}
}
}
},
"moduleDirectories": [
"node_modules",
"src"
]
}