-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpackage.json
executable file
·49 lines (49 loc) · 1.58 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
{
"name": "Example",
"version": "1.0.0",
"description": "This is an example of a complex app using Jest",
"main": "index.js",
"scripts": {
"start":"concurrently 'npm:watch' 'npm:start-dev'",
"start-dev": "webpack-dev-server --config ./webpack.config.js --mode production --open --hot",
"build": "webpack --progress --mode production",
"watch": "webpack --watch --progress --mode production",
"test": "jest"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/reactTests/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/client/src/stylesheets/"
},
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/client/src/stylesheets/"
]
},
"dependencies": {
"@babel/core": "^7.19.3",
"@babel/runtime": "^7.19.0",
"axios": "^0.27.2",
"babel-loader": "^8.2.5",
"body-parser": "^1.18.3",
"concurrently": "^7.4.0",
"file-loader": "^0.11.2",
"nodemon": "^1.18.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"webpack": "^5.74.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-modules-commonjs": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.19.3",
"@babel/preset-react": "^7.18.6",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.8",
"jest": "^29.2.0",
"react-refresh": "^0.14.0",
"react-test-renderer": "^18.2.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1"
}
}