-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.41 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
{
"name": "next-react-express-hmr-starter",
"description": "Starter project for Next / React / Express with Client **and** Server HMR",
"version": "1.0",
"private": true,
"main": "dist/index.js",
"license": "MIT",
"author": "malixsys",
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "none",
"jsxSingleQuote": false
},
"dependencies": {
"@tanstack/react-query": "^4.10.3",
"colors": "^1.4.0",
"express": "4.18.2",
"next": "13.0.2",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@swc/core": "^1.3.6",
"@types/express": "^4.17.14",
"@types/node": "18.8.4",
"@types/react": "^16.9.19",
"prettier": "^2.7.1",
"run-script-webpack-plugin": "^0.1.1",
"swc-loader": "^0.2.3",
"ts-node": "^10.9.1",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"typescript": "^4.8.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-node-externals": "^3.0.0"
},
"scripts": {
"run:stackblitz": "ts-node --project tsconfig.server.json server/index.ts",
"run:server": "webpack --config webpack.config.server.js",
"build:server": "tsc --project tsconfig.server.json",
"build:next": "next build",
"build": "npm run build:next && npm run build:server",
"start": "NODE_ENV=production node dist/index.js",
"dev": "NODE_ENV=development yarn run:server"
}
}