-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.64 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
{
"name": "tfs-demo-2-server",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"start:webpack:client": "webpack serve --config webpack.dev.client.config.js",
"start:webpack:server": "webpack --watch --config webpack.dev.server.config.js",
"start:server": "NODE_ENV=development node dev-server.js",
"build:clean": "rm -rf ./build",
"build:webpack:client": "webpack --config webpack.prod.client.config.js",
"build:webpack:server": "webpack --config webpack.prod.server.config.js",
"build:webpack": "yarn build:webpack:client && yarn build:webpack:server",
"build:copy": "./copy.sh",
"build:packages": "yarn --cwd ./build/server --production --frozen-lockfile",
"build:docker": "docker build -f app.Dockerfile -t tfs-demo-2-server:latest .",
"build": "yarn build:clean && yarn build:webpack && yarn build:copy && yarn build:packages && yarn build:docker"
},
"devDependencies": {
"@types/node": "^17.0.24",
"@types/react": "^17.0.44",
"@types/react-dom": "^17.0.15",
"@types/webpack-env": "^1.16.3",
"chokidar": "^3.5.3",
"css-loader": "^6.7.1",
"fastify-http-proxy": "^6.2.2",
"ignore-loader": "^0.1.2",
"mini-css-extract-plugin": "^2.6.0",
"prerender-loader": "^1.3.0",
"ts-loader": "^9.2.8",
"typescript": "^4.6.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.8.1",
"webpack-manifest-plugin": "^5.0.0",
"webpack-merge": "^5.8.0",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"axios": "^0.26.1",
"fastify": "^3.28.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}