-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
46 lines (46 loc) · 1.33 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
{
"dependencies": {
"@babel/preset-react": "^7.18.6",
"@rails/activestorage": "^7.0.4-2",
"@rails/ujs": "^7.0.4-2",
"@rails/webpacker": "5.4.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.2.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"eslint-plugin-react-app": "^6.2.2",
"global-jsdom": "^8.7.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.1",
"react_ujs": "^2.6.2",
"reactstrap": "^9.1.5",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12"
},
"devDependencies": {
"@testing-library/dom": "^8.20.0",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"jsdom": "^21.1.0",
"webpack-dev-server": "^3"
},
"scripts": {
"test": "jest",
"test-watch": "jest --watch"
},
"jest": {
"testEnvironment": "jsdom",
"roots": [
"app/javascript/components"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/app/javascript/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/app/javascript/__mocks__/styleMock.js"
},
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
]
}
}