aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMetaMuffin <metamuffin@yandex.com>2021-08-06 14:44:49 +0200
committerMetaMuffin <metamuffin@yandex.com>2021-08-06 14:44:49 +0200
commitff350d6c0ea1f3c12076349bd64b7df1318878ad (patch)
treed8dcdedebc5b1f87b32d53f8c7b5453c93b1f277 /package.json
parentb772ad9b0c0c4284e6f8fc87e675e4d44f272959 (diff)
downloadkeks-meet-ff350d6c0ea1f3c12076349bd64b7df1318878ad.tar
keks-meet-ff350d6c0ea1f3c12076349bd64b7df1318878ad.tar.bz2
keks-meet-ff350d6c0ea1f3c12076349bd64b7df1318878ad.tar.zst
fixed production env
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/package.json b/package.json
index 7178c5b..50f70ab 100644
--- a/package.json
+++ b/package.json
@@ -5,8 +5,8 @@
"main": "index.ts",
"scripts": {
"test": "echo 'All tests passed (0 / 0)'",
- "start": "node dist/index.js",
- "build": "tsc",
+ "start": "ENV=production node dist/server/index.js",
+ "build": "tsc --build tsconfig.server.json && webpack --config webpack.prod.js",
"debug": "nodemon"
},
"keywords": [],
@@ -29,6 +29,8 @@
},
"devDependencies": {
"ts-node": "^8.10.2",
- "typescript": "^3.9.7"
+ "typescript": "^3.9.7",
+ "webpack-cli": "^4.7.2",
+ "webpack-dev-server": "^3.11.2"
}
}