mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Update project.json in KnockoutSpa and ReactSpa
This commit is contained in:
@@ -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%" ]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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%" ]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user