TryGhost/Ghost — pull request #2218 by hswolff (2014-02-19 03:51:36+00:00)
Title: Fix package.json scripts to be more in line with

expected behavior of npm packages

fixes #1053

- updates travis config to be more in line with
current dev steps

- fix `grunt-cli` warning from appearing when
running grunt

I tried adding the `prepublish` script to `package.json` however it seems that script is run at two points:

From [npm-scripts](https://www.npmjs.org/doc/misc/npm-scripts.html):

> prepublish: Run BEFORE the package is published. (Also run on local npm install without any arguments.)

So when you go to `npm install` anything in `prepublish` is ran as well unfortunately.

This is proving much more squirrelly than first blush :).