-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 2.12 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
{
"name": "ssr-webpack",
"version": "1.0.0",
"description": "Simple React application to test Webpack configuration for Server-Side Rendering",
"main": "index.js",
"type": "commonjs",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build:client": "webpack --config ./webpack/webpack.client.ts",
"build:server": "webpack --config ./webpack/webpack.server.ts",
"build": "NODE_ENV=production npm-run-all --parallel build:*",
"start": "NODE_OPTIONS=--experimental-fetch node ./dist/server/index.js",
"dev:client": "webpack serve --config webpack/webpack.client.ts --hot",
"dev:server": "webpack --watch --config webpack/webpack.server.ts",
"dev": "concurrently -p \"[{name}]\" -c auto --kill-others \"npm:dev:client\" \"npm:dev:server\""
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.18.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-router": "^3.2.6"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/plugin-transform-runtime": "^7.24.3",
"@babel/preset-env": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime-corejs3": "^7.24.4",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@types/express": "^4.17.21",
"@types/mini-css-extract-plugin": "^1.4.3",
"@types/react-dom": "^16.9.23",
"@types/react-router": "^3.0.28",
"@types/webpack": "^4.41.37",
"@types/webpack-node-externals": "^3.0.4",
"autoprefixer": "^10.4.16",
"babel-loader": "^9.1.3",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.8.1",
"mini-css-extract-plugin": "^2.7.6",
"nodemon-webpack-plugin": "^4.8.2",
"postcss-loader": "^7.3.3",
"react-refresh": "^0.14.0",
"resolve-url-loader": "^5.0.0",
"sass": "^1.75.0",
"sass-loader": "^14.2.0",
"style-loader": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.3.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-manifest-plugin": "^5.0.0",
"webpack-merge": "^5.10.0"
}
}