diff --git a/src/Squidex/app/framework/utils/color.ts b/src/Squidex/app/framework/utils/color.ts index 7021808a6..80c328a06 100644 --- a/src/Squidex/app/framework/utils/color.ts +++ b/src/Squidex/app/framework/utils/color.ts @@ -5,6 +5,8 @@ * Copyright (c) Sebastian Stehle. All rights reserved */ +/* tslint:disable:no-bitwise */ + interface IColorDefinition { regex: RegExp; diff --git a/src/Squidex/appsettings.Production.json b/src/Squidex/appsettings.Production.json new file mode 100644 index 000000000..40ee5bbcb --- /dev/null +++ b/src/Squidex/appsettings.Production.json @@ -0,0 +1,5 @@ +{ + "identity": { + "baseUrl": "http://squidex.io" + } +} \ No newline at end of file diff --git a/src/Squidex/package.json b/src/Squidex/package.json index 15e5b5e1d..1c25bc7ba 100644 --- a/src/Squidex/package.json +++ b/src/Squidex/package.json @@ -9,7 +9,7 @@ "test:coverage": "karma start karma.coverage.conf.js", "test:clean": "rimraf _test-output", "dev": "webpack-dev-server --inline --hot --port 3000", - "build": "webpack --config app-config/webpack.prod.js --progress --display-error-details", + "build": "webpack --config app-config/webpack.prod.js --bail", "build:clean": "rimraf wwwroot/build" }, "dependencies": { diff --git a/src/Squidex/project.json b/src/Squidex/project.json index 23c6a452f..8bd6ff325 100644 --- a/src/Squidex/project.json +++ b/src/Squidex/project.json @@ -73,6 +73,12 @@ }, "scripts": { - "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ] + "prepublish": [ + "npm install", + "npm run-script build" + ], + "postpublish": [ + "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" + ] } }