From 9984ae900017c6f1625a594318d90d8b042d9256 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Thu, 24 Sep 2015 17:04:57 -0700 Subject: [PATCH] We can go simpler --- package.json | 3 +-- scripts/hooks/post-checkout | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 16eff345bd..43c2b423da 100644 --- a/package.json +++ b/package.json @@ -36,8 +36,7 @@ "istanbul": "latest", "mocha-fivemat-progress-reporter": "latest", "tslint": "latest", - "tsd": "latest", - "npm": "^2" + "tsd": "latest" }, "scripts": { "pretest": "jake tests", diff --git a/scripts/hooks/post-checkout b/scripts/hooks/post-checkout index 6725535079..fb41e4e865 100644 --- a/scripts/hooks/post-checkout +++ b/scripts/hooks/post-checkout @@ -1,2 +1,2 @@ #!/bin/sh -echo "var npm = require('npm'); npm.load(function (err) {if (err) { throw err; } npm.commands.run(['jake', 'generate-diagnostics']); })" | node \ No newline at end of file +npm run jake -- generate-diagnostics \ No newline at end of file