diff --git a/src/Microsoft.AspNet.AngularServices/npm/package.json b/src/Microsoft.AspNet.AngularServices/npm/package.json index de2cc09b36..471f8c27a8 100644 --- a/src/Microsoft.AspNet.AngularServices/npm/package.json +++ b/src/Microsoft.AspNet.AngularServices/npm/package.json @@ -5,7 +5,7 @@ "main": "./dist/Exports", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "prepublish": "tsd install && node_modules/.bin/tsc && node build.js" + "prepublish": "tsd install && tsc && node build.js" }, "repository": { "type": "git", diff --git a/src/Microsoft.AspNet.ReactServices/npm/redux-typed/package.json b/src/Microsoft.AspNet.ReactServices/npm/redux-typed/package.json index 3db0045eef..1baee3ac34 100644 --- a/src/Microsoft.AspNet.ReactServices/npm/redux-typed/package.json +++ b/src/Microsoft.AspNet.ReactServices/npm/redux-typed/package.json @@ -5,7 +5,7 @@ "main": "main.js", "typings": "main.d.ts", "scripts": { - "prepublish": "tsd update && node_modules/.bin/tsc && echo 'Finished building NPM package \"redux-typed\"'", + "prepublish": "tsd update && tsc && echo 'Finished building NPM package \"redux-typed\"'", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Microsoft", diff --git a/src/Microsoft.AspNet.SpaServices/npm/aspnet-prerendering/package.json b/src/Microsoft.AspNet.SpaServices/npm/aspnet-prerendering/package.json index dd8dffd7ea..7edc0b31f5 100644 --- a/src/Microsoft.AspNet.SpaServices/npm/aspnet-prerendering/package.json +++ b/src/Microsoft.AspNet.SpaServices/npm/aspnet-prerendering/package.json @@ -4,7 +4,7 @@ "description": "Helpers for server-side rendering of JavaScript applications in ASP.NET projects. Works in conjunction with the Microsoft.AspNet.SpaServices NuGet package.", "main": "index.js", "scripts": { - "prepublish": "tsd update && node_modules/.bin/tsc && echo 'Finished building NPM package \"aspnet-prerendering\"'", + "prepublish": "tsd update && tsc && echo 'Finished building NPM package \"aspnet-prerendering\"'", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Microsoft", diff --git a/src/Microsoft.AspNet.SpaServices/npm/aspnet-webpack-react/package.json b/src/Microsoft.AspNet.SpaServices/npm/aspnet-webpack-react/package.json index b0883b40a5..3c4c94ead7 100644 --- a/src/Microsoft.AspNet.SpaServices/npm/aspnet-webpack-react/package.json +++ b/src/Microsoft.AspNet.SpaServices/npm/aspnet-webpack-react/package.json @@ -4,7 +4,7 @@ "description": "Helpers for using Webpack with React in ASP.NET projects. Works in conjunction with the Microsoft.AspNet.SpaServices NuGet package.", "main": "index.js", "scripts": { - "prepublish": "tsd update && node_modules/.bin/tsc && echo 'Finished building NPM package \"aspnet-webpack-react\"'", + "prepublish": "tsd update && tsc && echo 'Finished building NPM package \"aspnet-webpack-react\"'", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Microsoft", diff --git a/src/Microsoft.AspNet.SpaServices/npm/aspnet-webpack/package.json b/src/Microsoft.AspNet.SpaServices/npm/aspnet-webpack/package.json index 4414b1812b..6a8a527ae6 100644 --- a/src/Microsoft.AspNet.SpaServices/npm/aspnet-webpack/package.json +++ b/src/Microsoft.AspNet.SpaServices/npm/aspnet-webpack/package.json @@ -4,7 +4,7 @@ "description": "Helpers for using Webpack in ASP.NET projects. Works in conjunction with the Microsoft.AspNet.SpaServices NuGet package.", "main": "index.js", "scripts": { - "prepublish": "node_modules/.bin/rimraf *.d.ts && tsd update && node_modules/.bin/tsc && echo 'Finished building NPM package \"aspnet-webpack\"'", + "prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"aspnet-webpack\"'", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Microsoft", diff --git a/src/Microsoft.AspNet.SpaServices/npm/domain-task/package.json b/src/Microsoft.AspNet.SpaServices/npm/domain-task/package.json index 725c8e68b0..02174e89f0 100644 --- a/src/Microsoft.AspNet.SpaServices/npm/domain-task/package.json +++ b/src/Microsoft.AspNet.SpaServices/npm/domain-task/package.json @@ -4,7 +4,7 @@ "description": "Tracks outstanding operations for a logical thread of execution", "main": "main.js", "scripts": { - "prepublish": "tsd update && node_modules/.bin/tsc && echo 'Finished building NPM package \"domain-task\"'", + "prepublish": "tsd update && tsc && echo 'Finished building NPM package \"domain-task\"'", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Microsoft", diff --git a/templates/yeoman/package.json b/templates/yeoman/package.json index b33f194332..72b1df4b24 100644 --- a/templates/yeoman/package.json +++ b/templates/yeoman/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "node_modules/.bin/tsc && node ./tmp/build/build.js" + "build": "tsc && node ./tmp/build/build.js" }, "author": "Microsoft", "license": "Apache-2.0",