From 2359c9bf9d971c36af59995c6687198df8afb069 Mon Sep 17 00:00:00 2001 From: Jason Killian Date: Thu, 12 Nov 2015 22:11:39 -0500 Subject: [PATCH 1/2] move to a peer dependency for typescript --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 178ee805b9b..718dc3cd8ee 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,7 @@ "dependencies": { "findup-sync": "~0.2.1", "optimist": "~0.6.0", - "underscore.string": "~3.1.1", - "typescript": "next" + "underscore.string": "~3.1.1" }, "devDependencies": { "chai": "^3.0.0", @@ -38,5 +37,8 @@ "mocha": "^2.2.5", "tslint": "latest" }, + "peerDependencies": { + "typescript": ">=1.7.0 || >=1.7.0-dev.20151003 || >=1.8.0-dev" + }, "license": "Apache-2.0" } From 9c826fa2dafc926091935ad1ca0e1ff7e6dc4e04 Mon Sep 17 00:00:00 2001 From: Jason Killian Date: Fri, 13 Nov 2015 17:34:06 -0500 Subject: [PATCH 2/2] Add typescript as dev dependency as well --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 718dc3cd8ee..3b50845ca20 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,8 @@ "grunt-ts": "^5.1.0", "grunt-tslint": "latest", "mocha": "^2.2.5", - "tslint": "latest" + "tslint": "latest", + "typescript": "next" }, "peerDependencies": { "typescript": ">=1.7.0 || >=1.7.0-dev.20151003 || >=1.8.0-dev"