diff --git a/install_run.bat b/install_run.bat deleted file mode 100644 index e3da47b..0000000 --- a/install_run.bat +++ /dev/null @@ -1,7 +0,0 @@ -git pull -npm install -npm run prod-run | bunyan -echo. -echo EXITED -echo. -PAUSE diff --git a/package.json b/package.json index 2f9c267..dd92e94 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/update_run.bat b/update_run.bat new file mode 100644 index 0000000..fbc1b5a --- /dev/null +++ b/update_run.bat @@ -0,0 +1,8 @@ +git pull master +CALL npm install +CALL npm run build +CALL npm run start:win +echo. +echo EXITED +echo. +PAUSE