Fix monorepo build

This commit is contained in:
schmelczerandras 2020-10-17 17:24:24 +02:00
parent 2d67b7d939
commit fd80a299b6
14 changed files with 99 additions and 83 deletions

View file

@ -1,19 +1,18 @@
{
"name": "declared-server",
"version": "0.0.2",
"description": "Game server for decla.red",
"keywords": [],
"author": "András Schmelczer <andras@schmelczer.dev> (https://schmelczer.dev/)",
"version": "0.0.1-try2",
"main": "dist/main.js",
"scripts": {
"build": "npx webpack --mode production",
"initialize": "npm install",
"start": "concurrently --kill-others \"npx webpack --mode development -w\" \"cd dist && nodemon --legacy-watch main.js\"",
"try-build": "npm run build && cd dist && node main.js && cd -"
},
"bin": {
"declared-server": "./dist/main.js"
},
"scripts": {
"build": "npx webpack --mode production",
"start": "npx concurrently --kill-others-on-fail \"npx webpack --mode development -w\" \"npx nodemon --legacy-watch dist/main.js\"",
"try-build": "npm run build && cd dist && node main.js && cd -"
},
"dependencies": {
"@types/config": "0.0.36",
"cors": "^2.8.5",
@ -24,12 +23,28 @@
"webpack-node-externals": "^2.5.2"
},
"devDependencies": {
"@types/cors": "^2.8.7",
"@types/express": "^4.17.8",
"@types/node": "^14.11.2",
"@types/socket.io": "^2.1.11",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"clean-webpack-plugin": "^3.0.0",
"concurrently": "^5.3.0",
"esbuild-loader": "^2.4.0",
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-json-format": "^2.0.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-unused-imports": "^0.1.3",
"file-loader": "^6.1.0",
"ts-loader": "^8.0.3",
"gl-matrix": "^3.3.0",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"raw-loader": "^4.0.1",
"resolve-url-loader": "^3.1.1",
"shared": "0.0.0",
"terser-webpack-plugin": "^2.3.5",
"typescript": "^4.0.3",
"webpack": "^4.43.0",