diff --git a/package.json b/package.json index 794880c57..a0499a670 100644 --- a/package.json +++ b/package.json @@ -101,9 +101,9 @@ "yaml-loader": "^0.5.0" }, "optionalDependencies": { + "bundlesize": "^0.18.0", "cypress": "^3.6.1", - "prerender-spa-plugin": "^3.4.0", - "bundlesize": "^0.18.0" + "prerender-spa-plugin": "^3.4.0" }, "scripts": { "lint:eslintrc": "eslint --print-config .eslintrc.js | eslint-config-prettier-check", @@ -119,7 +119,8 @@ "test:regressions": "jest", "clean": "yarn workspaces run clean", "start": "yarn workspace publicodes build --watch & yarn workspace publicodes-react build --watch & yarn workspace mon-entreprise start", - "moso:up": "yarn workspace modele-social run up" + "moso:up": "yarn workspace modele-social run up && yarn workspace mon-entreprise upgrade modele-social", + "publicodes:up": "yarn workspace publicodes-react upgrade publicodes && yarn workspace mon-entreprise upgrade publicodes publicodes-react" }, "workspaces": [ "publicodes/core",