-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 2.59 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
{
"name": "tictactoe",
"sideEffects": [
"*.css"
],
"version": "0.1.0",
"dependencies": {
"axios": "^0.21.1",
"express": "^4.17.1",
"flatstore": "^1.0.11",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"socket.io": "^4.1.2",
"vm2": "^3.9.3"
},
"scripts": {
"start": "./node_modules/.bin/concurrently npm:client-dev npm:server-dev npm:simulator npm:simulator-sync",
"client-dev": "./node_modules/.bin/webpack --config builds/webpack/client/dev.config.js --watch ./game-client",
"server-dev": "./node_modules/.bin/webpack --config builds/webpack/server/dev.config.js --watch ./game-server",
"simulator": "./node_modules/.bin/nodemon --inspect --enable-source-maps --watch ../acosgames/simulator ../acosgames/simulator/server.js",
"simulator-sync": "./node_modules/.bin/wait-on http://localhost:3100/ && ./node_modules/.bin/browser-sync start --no-ghost-mode --ws --port 3200 --proxy localhost:3100 --files=./game-client/** --files=./builds/client/client.bundle.js --files ../acosgames/simulator/*.html --ignore=node_modules",
"dev:client": "./node_modules/.bin/webpack --config builds/webpack/client/dev.config.js",
"dev:server": "./node_modules/.bin/webpack --config builds/webpack/server/dev.config.js",
"build:client": "./node_modules/.bin/webpack --config builds/webpack/client/prod.config.js",
"build:server": "./node_modules/.bin/webpack --config builds/webpack/server/prod.config.js",
"deploy": "npm run build:client && npm run build:server && node --inspect ../acosgames/simulator/deploy.js",
"deploy:client": "npm run build:client && node --inspect ../acosgames/simulator/deploy.js client",
"deploy:server": "npm run build:server && node --inspect ../acosgames/simulator/deploy.js server",
"deploy:db": "node --inspect ../acosgames/simulator/deploy.js db"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@babel/preset-react": "^7.13.13",
"babel-loader": "^8.2.2",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"browser-sync": "^2.26.14",
"chokidar": "^3.5.1",
"concurrently": "^6.4.0",
"core-js": "^3.12.1",
"css-loader": "^5.2.5",
"file-loader": "^6.2.0",
"acosgames": "file:../acosgames",
"form-data": "^4.0.0",
"nodemon": "^2.0.15",
"sass": "^1.33.0",
"sass-loader": "^11.1.1",
"source-map-support": "^0.5.19",
"style-loader": "^2.0.0",
"url-loader": "^4.1.1",
"wait-on": "^5.3.0",
"webpack": "^5.37.1",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.0",
"yargs": "^17.0.1"
}
}