From 54e51268deecd2dce2b873ce93a8bf4259cf6f90 Mon Sep 17 00:00:00 2001 From: Steven Loria Date: Sat, 7 Oct 2017 14:10:28 -0400 Subject: [PATCH] More concise npm scripts --- {{cookiecutter.app_name}}/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.app_name}}/package.json b/{{cookiecutter.app_name}}/package.json index 67c22ae..7cb9d32 100644 --- a/{{cookiecutter.app_name}}/package.json +++ b/{{cookiecutter.app_name}}/package.json @@ -3,9 +3,9 @@ "version": "1.0.0", "description": "{{cookiecutter.project_short_description}}", "scripts": { - "build": "NODE_ENV=production ./node_modules/.bin/webpack --progress --colors -p", - "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", + "build": "NODE_ENV=production webpack --progress --colors -p", + "start": "concurrently -n \"WEBPACK,FLASK\" -c \"bgBlue.bold,bgMagenta.bold\" \"npm run webpack-dev-server\" \"npm run flask-server\"", + "webpack-dev-server": "NODE_ENV=debug webpack-dev-server --port 2992 --hot --inline", "flask-server": "FLASK_APP=$PWD/autoapp.py FLASK_DEBUG=1 flask run", "lint": "eslint \"assets/js/*.js\"" },