Build using local 'tsc' tool instead of hoping the globally-installed one exists and is the right version

This commit is contained in:
SteveSandersonMS
2016-05-02 12:18:52 -07:00
parent f798f308f3
commit 7d193108df
7 changed files with 28 additions and 9 deletions

View File

@@ -5,7 +5,7 @@
"main": "./dist/Exports",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepublish": "tsd install && tsc && node build.js"
"prepublish": "tsd install && ./node_modules/.bin/tsc && node build.js"
},
"repository": {
"type": "git",
@@ -22,7 +22,7 @@
"es6-shim": "^0.35.0",
"reflect-metadata": "^0.1.2",
"systemjs-builder": "^0.14.11",
"typescript": "^1.7.3",
"typescript": "^1.8.10",
"zone.js": "^0.6.10"
}
}