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": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc && node ./tmp/build/build.js"
"build": "./node_modules/.bin/tsc && node ./tmp/build/build.js"
},
"author": "Microsoft",
"license": "Apache-2.0",
@@ -16,5 +16,8 @@
"lodash": "^4.11.1",
"mkdirp": "^0.5.1",
"rimraf": "^2.5.2"
},
"devDependencies": {
"typescript": "^1.8.10"
}
}