0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

🛠 Added npm run dev to run grunt dev w/ DEBUG on (#8861)

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 😬
This commit is contained in:
Hannah Wolfe 2017-08-09 17:20:02 +01:00 committed by Katharina Irrgang
parent eadeb4f06b
commit f554523d23

View file

@ -19,6 +19,7 @@
"main": "./core/index", "main": "./core/index",
"scripts": { "scripts": {
"start": "node index", "start": "node index",
"dev": "DEBUG=ghost:* grunt dev",
"test": "grunt validate --verbose", "test": "grunt validate --verbose",
"init": "yarn global add knex-migrator ember-cli grunt-cli && yarn install && grunt symlink && grunt init || true" "init": "yarn global add knex-migrator ember-cli grunt-cli && yarn install && grunt symlink && grunt init || true"
}, },