diff --git a/app/ui-react/package.json b/app/ui-react/package.json index 42e6bd3f651..719944e3133 100644 --- a/app/ui-react/package.json +++ b/app/ui-react/package.json @@ -22,9 +22,6 @@ "test:jest": "CI=true lerna run test -- --coverage --color --runInBand", "test": "npm-run-all -s test:*", "build": "lerna run build", - "copyasset:atlasmap": "cpr packages/atlasmap-assembly/dist/atlasmap syndesis/public/atlasmap -d", - "copyasset:apicurio": "cpr packages/apicurio-assembly/dist/apicurio syndesis/public/apicurio -d", - "postbuild": "npm-run-all copyasset:*", "watch:app:proxy": "lerna run --parallel --no-prefix --scope @syndesis/syndesis proxy", "watch:app:minishift:restore": "lerna run --parallel --no-prefix --scope @syndesis/syndesis minishift:restore", "watch:app:minishift": "lerna run --parallel --no-prefix --scope @syndesis/syndesis minishift", @@ -41,7 +38,6 @@ "prepush": "npm-run-all -p lint test" }, "devDependencies": { - "cpr": "^3.0.1", "gh-pages": "^2.0.1", "husky": "^2.2.0", "lerna": "^3.13.1", diff --git a/app/ui-react/syndesis/package.json b/app/ui-react/syndesis/package.json index 6bb691c1135..236c89b8df7 100644 --- a/app/ui-react/syndesis/package.json +++ b/app/ui-react/syndesis/package.json @@ -50,7 +50,10 @@ "test": "craco test", "eject": "react-scripts eject", "minishift:setup": "./scripts/minishift-setup.sh", - "minishift:restore": "./scripts/minishift-restore.sh" + "minishift:restore": "./scripts/minishift-restore.sh", + "copyasset:atlasmap": "cpr ../packages/atlasmap-assembly/dist/atlasmap public/atlasmap -d", + "copyasset:apicurio": "cpr ../packages/apicurio-assembly/dist/apicurio public/apicurio -d", + "prebuild": "npm-run-all copyasset:*" }, "devDependencies": { "@babel/core": "^7.1.5", @@ -79,6 +82,7 @@ "babel-plugin-named-asset-import": "^0.3.1", "babel-preset-react-app": "^8.0.0", "cypress": "^3.2.0", + "cpr": "^3.0.1", "jest-dom": "^3.1.3", "my-local-ip": "^1.0.0", "npm-run-all": "^4.1.5",