server start script

This commit is contained in:
2018-06-26 12:59:46 +02:00
parent 54b077cfa7
commit af10384cb7
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build --prod", "build": "ng build --prod",
"server": "cd server && npm start",
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e" "e2e": "ng e2e"

View File

@ -13,7 +13,7 @@ app.use(morgan('combined', {stream: accessLogStream}))
app.use('/', express.static(path.join(__dirname, '/../../../dist'))) app.use('/', express.static(path.join(__dirname, '/../../../dist')))
app.listen(3000, () => { app.listen(3000, () => {
console.log('Example app listening on port 3000!') console.log('smartclient app listening on port 3000!')
}) })