diff --git a/package.json b/package.json index 0f335cb7805..6ca84216e2b 100644 --- a/package.json +++ b/package.json @@ -25,19 +25,21 @@ "build": "run-s ci:front build:front", "build:admin": "(cd admin && npm run build) && mkdir -p dist && cp -R admin/dist dist/admin", "build:certif": "(cd certif && npm run build) && mkdir -p dist && cp -R certif/dist dist/certif", - "build:front": "run-p --print-label --max-parallel 2 build:mon-pix build:orga build:certif build:admin build:junior", + "build:front": "run-p --print-label --max-parallel 2 ${BUILD_FRONT_TASKS-build:mon-pix build:orga build:certif build:admin build:junior}", "build:mon-pix": "(cd mon-pix && npm run build) && mkdir -p dist && cp -R mon-pix/dist dist/app", "build:orga": "(cd orga && npm run build) && mkdir -p dist && cp -R orga/dist dist/orga", "build:junior": "(cd junior && npm run build) && mkdir -p dist && cp -R junior/dist dist/junior", + "build:none": "mkdir -p dist && echo No build task", "ci:admin": "cd admin && npm ci", "ci:all": "run-p --print-label ci:api ci:front ci:audit-logger", "ci:api": "cd api && npm ci", "ci:audit-logger": "cd audit-logger && npm ci", "ci:certif": "cd certif && npm ci", - "ci:front": "run-p --print-label ci:mon-pix ci:orga ci:certif ci:admin ci:junior", + "ci:front": "run-p --print-label ${CI_FRONT_TASKS-ci:mon-pix ci:orga ci:certif ci:admin ci:junior}", "ci:mon-pix": "cd mon-pix && npm ci", "ci:orga": "cd orga && npm ci", "ci:junior": "cd junior && npm ci", + "ci:none": "echo No ci task", "compute-lead-times": "node ./scripts/compute-lead-times", "clean": "run-p --print-label clean:api clean:audit-logger clean:mon-pix clean:orga clean:certif clean:admin clean:junior && npm run clean:root", "clean:admin": "cd admin && npm run clean",