From f554523d2347b9863dbee872af59f57acc413ebc Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Wed, 9 Aug 2017 17:20:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Added=20`npm=20run=20dev`=20to?= =?UTF-8?q?=20run=20grunt=20dev=20w/=20DEBUG=20on=20(#8861)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue - Most of our other projects have `npm run dev` - In Ghost we use `grunt dev`, but I also want to have DEBUG turned on for development - `npm run dev` is a shortcut for these 2 things - Also cos I keep accidentally typing `npm run dev` anyway 😬 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 9dcc10dda1..1e15527885 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "main": "./core/index", "scripts": { "start": "node index", + "dev": "DEBUG=ghost:* grunt dev", "test": "grunt validate --verbose", "init": "yarn global add knex-migrator ember-cli grunt-cli && yarn install && grunt symlink && grunt init || true" },