File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 15
15
<TargetFramework >net452</TargetFramework >
16
16
<AssemblyName >Our.Umbraco.GraphQL</AssemblyName >
17
17
<RootNamespace >Our.Umbraco.GraphQL</RootNamespace >
18
+ <UIRoot >Web\UI\</UIRoot >
19
+ <DefaultItemExcludes >$(DefaultItemExcludes);$(UIRoot)node_modules\**;$(UIRoot).sass-cache\**</DefaultItemExcludes >
18
20
</PropertyGroup >
19
21
20
22
<ItemGroup >
23
+ <None Include =" $(FrontendRoot)**" Exclude =" $(UIRoot)node_modules\**;$(UIRoot).sass-cache\**" Pack =" false" />
24
+ </ItemGroup >
25
+
26
+ <Target Name =" RunUIBuild" BeforeTargets =" Compile" Condition =" '$(Configuration)' == 'Release' " >
27
+ <Exec WorkingDirectory =" $(UIRoot)" Command =" npm install" />
28
+ <Exec WorkingDirectory =" $(UIRoot)" Command =" npm run build" />
29
+ </Target >
30
+
31
+ <ItemGroup >
32
+ <None Include =" tools\**" Pack =" True" PackagePath =" tools\" />
33
+ <None Include =" $(UIRoot)dist\**" Pack =" True" PackagePath =" content\" />
21
34
<None Include =" content\**" Pack =" True" PackagePath =" content\" />
22
35
</ItemGroup >
23
36
Original file line number Diff line number Diff line change 21
21
"type" : " git" ,
22
22
"url" : " https://github.com/rasmusjp/umbraco-graphql"
23
23
},
24
+ "scripts" : {
25
+ "clean" : " grunt clean" ,
26
+ "build" : " npm run clean && grunt"
27
+ },
24
28
"devDependencies" : {
25
29
"grunt-msbuild" : " ^0.4.4" ,
26
30
"grunt-string-replace" : " ^1.3.1" ,
You can’t perform that action at this time.
0 commit comments