Permalink
Browse files

apply same npm typescript to serenity.test

  • Loading branch information...
1 parent 45e2648 commit 28223001291afb5f573827c459d7098804e81ed8 @volkanceylan committed Jan 11, 2017
Showing with 5 additions and 2 deletions.
  1. +3 −1 Serenity.Test/Serenity.Test.csproj
  2. +2 −1 Serenity.Test/package.json
@@ -412,9 +412,11 @@
<Error Condition="!Exists('..\..\packages\xunit.runner.visualstudio.2.1.0\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\xunit.runner.visualstudio.2.1.0\build\net20\xunit.runner.visualstudio.props'))" />
</Target>
<Target Name="BeforeBuild">
- <Copy SourceFiles="$(ProjectDir)..\Serenity.TypeScript.CoreLib\Serenity.CoreLib.d.ts" DestinationFiles="$(ProjectDir)Scripts\typings\serenity\Serenity.CoreLib.d.ts" />
+ <Exec Command="npm install" ContinueOnError="false" />
+ <Copy SourceFiles="$(ProjectDir)..\Serenity.TypeScript.CoreLib\Serenity.CoreLib.d.ts" DestinationFiles="$(ProjectDir)Scripts\typings\serenity\Serenity.CoreLib.d.ts" />
</Target>
<Target Name="AfterBuild">
+ <Exec Command="npm run build" ContinueOnError="false" />
<Exec Command="&quot;$(TscToolPath)\$(TypeScriptToolsVersion)\$(TscToolExe)&quot; -project &quot;$(ProjectDir)tsconfig.json&quot;" ContinueOnError="false" />
</Target>
</Project>
@@ -11,7 +11,8 @@
"@types/jquery.validation": "^1.13.32",
"@types/jqueryui": "^1.11.32",
"@types/sortablejs": "^1.3.31",
- "@types/toastr": "^2.1.32"
+ "@types/toastr": "^2.1.32",
+ "typescript": "^2.1.4"
},
"devDependencies": {},
"scripts": {

0 comments on commit 2822300

Please sign in to comment.