-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 1.52 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 1.52 KB
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
{
"name": "ssr-example",
"version": "0.0.1",
"license": "MIT",
"scripts": {
"start": "yarn run build && node dist/example/server/serverEntry.js",
"build": "yarn run build-client && yarn run build-server",
"build-client": "webpack",
"build-server": "yarn run build-server-module && yarn run build-shared-module && yarn run build-library-module",
"build-server-module": "babel -x .ts,.tsx --config-file ./.node.babelrc -d dist/example/server src/example/server",
"build-shared-module": "babel -x .ts,.tsx --config-file ./.node.babelrc -d dist/example/shared src/example/shared",
"build-library-module": "babel -x .ts,.tsx --config-file ./.node.babelrc -d dist/library src/library",
"type-check": "tsc",
"fmt": "prettier . --write"
},
"dependencies": {
"compression": "^1.7.4",
"express": "^4.18.2",
"mesh-di": "^0.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@types/compression": "^1.7.5",
"@types/express": "^4.17.21",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"babel-loader": "^9.1.3",
"babel-plugin-add-import-extension": "^1.6.0",
"babel-plugin-module-resolver": "^5.0.0",
"babel-plugin-react-require": "^4.0.2",
"prettier": "^3.2.4",
"typescript": "^5.3.3",
"webpack": "^5.90.1",
"webpack-cli": "^5.1.4"
}
}