Update project.json in KnockoutSpa and ReactSpa

This commit is contained in:
SteveSandersonMS
2016-09-28 16:28:22 +01:00
parent 0d34dba4fd
commit a9ce762827
2 changed files with 4 additions and 15 deletions

View File

@@ -52,14 +52,9 @@
"publishOptions": { "publishOptions": {
"include": [ "include": [
"appsettings.json", "appsettings.json",
"ClientApp",
"node_modules", "node_modules",
"typings",
"Views", "Views",
"tsconfig.json",
"tsd.json",
"web.config", "web.config",
"webpack.*.js",
"wwwroot" "wwwroot"
] ]
}, },
@@ -67,8 +62,8 @@
"scripts": { "scripts": {
"prepublish": [ "prepublish": [
"npm install", "npm install",
"node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js", "node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js --env.prod",
"node node_modules/webpack/bin/webpack.js" "node node_modules/webpack/bin/webpack.js --env.prod"
], ],
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ] "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
}, },

View File

@@ -51,16 +51,10 @@
"publishOptions": { "publishOptions": {
"include": [ "include": [
".babelrc",
"appsettings.json", "appsettings.json",
"ClientApp",
"node_modules", "node_modules",
"typings",
"Views", "Views",
"tsconfig.json",
"tsd.json",
"web.config", "web.config",
"webpack.*.js",
"wwwroot" "wwwroot"
] ]
}, },
@@ -68,8 +62,8 @@
"scripts": { "scripts": {
"prepublish": [ "prepublish": [
"npm install", "npm install",
"node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js", "node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js --env.prod",
"node node_modules/webpack/bin/webpack.js" "node node_modules/webpack/bin/webpack.js --env.prod"
], ],
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ] "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
}, },