From ea9d24be315a3a94714a5272521e99ddfcc930d2 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 15 Apr 2015 15:53:39 -0700 Subject: [PATCH] chore(npm): move tsd update to post install and add tsd version to devDependencies --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bbb2f54d85..e512350dfb 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,7 @@ "url": "https://github.com/angular/angular.git" }, "scripts": { - "preinstall": "npm install tsd && tsd update --config modules/angular2/tsd.json && tsd update --config tools/tsd.json", - "postinstall": "webdriver-manager update && bower install && gulp pubget.dart", + "postinstall": "webdriver-manager update && bower install && gulp pubget.dart && tsd update --config modules/angular2/tsd.json && tsd update --config tools/tsd.json", "test": "gulp test.all.js && gulp test.all.dart" }, "dependencies": { @@ -98,6 +97,7 @@ "ternary-stream": "^1.2.3", "through2": "^0.6.1", "ts2dart": "^0.3.0", + "tsd": "^0.5.7", "typescript": "alexeagle/TypeScript#93dbbe2a2d0b42cefd02ac949e4bc8ab6b5b5823", "vinyl": "^0.4.6", "walk-sync": "^0.1.3",