-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.22 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
{
"name": "fast-refresh-express",
"version": "1.0.0",
"description": "",
"main": "build/server/index.js",
"scripts": {
"start": "NODE_ENV=production node build/server",
"prebuild": "rm -rf .tmp/dev-react-cache && rm -rf build && rm -rf .swc/plugins",
"build:react:client": "NODE_ENV=production webpack",
"build:react:server": "NODE_ENV=production swc ./react -d build/react --config-file swc.config.json",
"build:server": "NODE_ENV=production swc ./server -d build/server --config-file swc.config.json",
"build:webpackConfig": "NODE_ENV=production swc ./webpack.config.ts -d build --config-file swc.config.json",
"build": "npm run build:react:client && npm run build:react:server && npm run build:server && npm run build:webpackConfig",
"dev": "nodemon --exec node -- dev/server.js",
"test": "jest"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.18.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router": "^6.9.0",
"react-router-dom": "^6.9.0",
"styled-components": "^5.3.9"
},
"devDependencies": {
"@gatsbyjs/webpack-hot-middleware": "^2.25.3",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.40",
"@swc/helpers": "^0.4.14",
"@swc/jest": "^0.2.24",
"@swc/plugin-styled-components": "^1.5.48",
"@swc/register": "^0.1.10",
"@types/express": "^4.17.13",
"@types/jest": "^29.4.4",
"@types/jsdom": "^21.1.0",
"@types/node": "^18.15.3",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.25",
"@types/supertest": "^2.0.12",
"@types/webpack": "^5.28.0",
"@types/webpack-hot-middleware": "^2.25.6",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"dotenv": "^16.0.1",
"dotenv-defaults": "^5.0.0",
"jest": "^29.4.3",
"jsdom": "^21.1.1",
"nodemon": "^2.0.16",
"prettier": "2.8.4",
"supertest": "^6.3.3",
"swc-loader": "^0.2.3",
"typescript": "^4.7.2",
"webpack": "^5.76.2",
"webpack-cli": "^5.0.1",
"webpack-dev-middleware": "^6.0.1",
"webpack-manifest-plugin": "^5.0.0"
}
}