-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
93 lines (93 loc) · 2.96 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
{
"name": "webpack-react-express-ssr",
"version": "1.0.0",
"description": "Webpack React SSR Boilerplate",
"scripts": {
"dev": "node scripts/dev",
"prod": "node dist/server/app-prod",
"build": "run-s clean build:web build:node",
"build:web": "webpack --config ./webpack/client-config.js --env prod",
"build:node": "webpack --config ./webpack/server-config.js --env prod",
"clean": "shx rm -rf dist && shx mkdir -p dist/server",
"lint": "run-s lint:js lint:style",
"lint:js": "eslint . --fix",
"lint:style": "stylelint \"**/*.scss\" --fix",
"test": "jest --config jest/config.js",
"cov": "jest --config jest/config.js --coverage",
"analysis": "webpack --config ./webpack/client-config.js --env prod --env analysis",
"prepare": "husky install"
},
"bin": "./bin/generate-app.js",
"repository": {
"type": "git",
"url": "https://github.com/lhz516/webpack-react-express-ssr"
},
"lint-staged": {
"*.js": "eslint --fix",
"*.scss": "stylelint --fix",
"*.json": "prettier --write"
},
"license": "MIT",
"dependencies": {
"@reduxjs/toolkit": "^1.8.1",
"cookie-parser": "^1.4.5",
"cross-env": "^7.0.3",
"debug": "^4.3.1",
"ejs": "^3.1.5",
"express": "^4.17.1",
"express-http-proxy": "^1.6.3",
"http-errors": "^2.0.0",
"morgan": "^1.10.0",
"node-fetch": "^2.0.0",
"npm-run-all": "^4.1.5",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-helmet-async": "^1.3.0",
"react-redux": "^8.0.1",
"react-router-dom": "^6.3.0",
"redux": "^4.0.5",
"shx": "^0.3.3"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/eslint-parser": "^7.12.13",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@testing-library/dom": "^9.2.0",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.1.1",
"assets-webpack-plugin": "^7.0.0",
"babel-jest": "^29.0.1",
"babel-loader": "^9.0.0",
"compression-webpack-plugin": "^10.0.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^5.6.0",
"husky": "^8.0.0",
"ignore-loader": "^0.1.2",
"jest": "^29.0.1",
"jest-environment-jsdom": "^29.0.1",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.0",
"msw": "1.0.0",
"nodemon": "^2.0.6",
"prettier": "^2.2.1",
"sass": "^1.32.2",
"sass-loader": "^13.0.2",
"style-loader": "^3.3.1",
"stylelint": "^15.3.0",
"stylelint-config-standard-scss": "^7.0.1",
"webpack": "^5.11.1",
"webpack-bundle-analyzer": "^4.3.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.8.1",
"webpack-node-externals": "^3.0.0"
}
}