concurrently: cleaner cmdline, and moar colors

master
Will Roberts 8 years ago
parent 9afe52c81d
commit 33ae81c0eb
  1. 4
      {{cookiecutter.app_name}}/package.json

@ -9,7 +9,9 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "NODE_ENV=production ./node_modules/.bin/webpack --progress --colors -p",
"start": "NODE_ENV=debug FLASK_APP=$PWD/autoapp.py FLASK_DEBUG=1 ./node_modules/.bin/concurrently --names \"WEBPACK,FLASK\" \"./node_modules/.bin/webpack-dev-server --port 2992 --hot --inline\" \"flask run\"",
"start": "./node_modules/.bin/concurrently -n \"WEBPACK,FLASK\" -c \"bgBlue.bold,bgMagenta.bold\" \"npm run webpack-dev-server\" \"npm run flask-server\"",
"webpack-dev-server": "NODE_ENV=debug ./node_modules/.bin/webpack-dev-server --port 2992 --hot --inline",
"flask-server": "FLASK_APP=$PWD/autoapp.py FLASK_DEBUG=1 flask run",
"lint": "eslint \"assets/js/*.js\""
},
"repository": {

Loading…
Cancel
Save