diff --git a/src/Squidex/package.json b/src/Squidex/package.json index 70b372973..7dee8bd83 100644 --- a/src/Squidex/package.json +++ b/src/Squidex/package.json @@ -5,13 +5,13 @@ "license": "MIT", "repository": "https://github.com/SebastianStehle/Squidex", "scripts": { - "prepare": "cpx node_modules/oidc-client/dist/oidc-client.min.js wwwroot/scripts/", - "start": "webpack-dev-server --config app-config/webpack.run.dev.js --inline --port 3000 --hot", + "copy": "cpx node_modules/oidc-client/dist/oidc-client.min.js wwwroot/scripts/", + "start": "npm run copy && webpack-dev-server --config app-config/webpack.run.dev.js --inline --port 3000 --hot", "test": "karma start", "test:coverage": "karma start karma.coverage.conf.js", "test:clean": "rimraf _test-output", "tslint": "tslint -c tslint.json -p tsconfig.json app/**/*.ts", - "build": "webpack --config app-config/webpack.run.prod.js", + "build": "npm run copy && webpack --config app-config/webpack.run.prod.js", "build:clean": "rimraf wwwroot/build" }, "dependencies": {