upd: packages.json (added commands: 'ws-start', 'ws-stop', 'ws-restart') | add: ndli1718.jar (added to .gitignore)
This commit is contained in:
parent
ff129222b9
commit
4cfb4a7f4d
|
@ -1,3 +1,5 @@
|
|||
websocket.out
|
||||
ndli1718.jar
|
||||
.vscode
|
||||
.DS_Store
|
||||
node_modules/
|
||||
|
|
|
@ -10,7 +10,11 @@
|
|||
"build:bundle": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
"build:dev": "cross-env NODE_ENV=development webpack --progress --hide-modules",
|
||||
"dev": "npm run build:clean; npm run build:dev",
|
||||
"build": "npm run build:clean; npm run build:bundle"
|
||||
"build": "npm run build:clean; npm run build:bundle",
|
||||
|
||||
"ws-start": "java -jar ./ndli1718.jar > ./websocket.out 2>&1 &",
|
||||
"ws-stop": "ps -aux | grep 'java -jar ./ndli1718.jar' | grep -v 'grep' && echo 'killing process..' && kill `ps -aux | grep \"java -jar ./ndli1718.jar\" | grep -v \"grep\" | awk '{print $2}'` && echo 'killed' || return 0",
|
||||
"ws-restart": "npm run ws-stop; npm run ws-start"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^2.5.9"
|
||||
|
|
Loading…
Reference in New Issue