more windows changes

This commit is contained in:
Jonatan Nilsson 2018-06-26 19:19:38 +00:00
parent 90e3bcec2b
commit e803cf0df0
3 changed files with 10 additions and 7 deletions

View file

@ -1,7 +0,0 @@
git pull
npm install
npm run prod-run | bunyan
echo.
echo EXITED
echo.
PAUSE

View file

@ -18,8 +18,10 @@
"build-status:js": "browserify app/status/index.js -o public/status.js --debug -t [ babelify ]",
"watch:server": "nodemon index.js",
"start": "node index.js",
"start:win": "node index.js | bunyan",
"dev-run": "run-p watch:js watch-client:js watch-status:js watch:server watch:styl watch-client:styl watch-status:styl",
"prod-run": "npm run build:js && npm run build-client:js && npm run build-status:js && npm run build:styl && npm run build-client:styl && npm run build-status:styl && npm start",
"build": "npm run build:js && npm run build-client:js && npm run build-status:js && npm run build:styl && npm run build-client:styl && npm run build-status:styl",
"test": "env NODE_ENV=test mocha --require babel-register --recursive --reporter dot",
"docker": "docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/app -w /usr/src/app node:alpine",
"docker:test": "npm run docker -- npm install && npm run test",

8
update_run.bat Normal file
View file

@ -0,0 +1,8 @@
git pull master
CALL npm install
CALL npm run build
CALL npm run start:win
echo.
echo EXITED
echo.
PAUSE