demo build script back to life

This commit is contained in:
Baptiste Lemoine 2020-06-07 16:14:52 +02:00
parent a1de41699e
commit 4f0a29e806
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@
"start": "ng serve", "start": "ng serve",
"build": "ng build --prod --progress=true", "build": "ng build --prod --progress=true",
"build-prod-stats": "ng build --prod --stats-json", "build-prod-stats": "ng build --prod --stats-json",
"build:demo": "ng build --crossOrigin=anonymous --extractCss=true --progress=true --prod && npm run package",
"build:demobliss": "ng build --crossOrigin=anonymous --extractCss=true --baseHref=https://framadate-api.cipherbliss.com --progress=true --prod && npm run package",
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"test:ci": "jest --runInBand", "test:ci": "jest --runInBand",

View File

@ -2,6 +2,6 @@
git pull origin develop git pull origin develop
yarn install --pure-lockfile yarn install --pure-lockfile
yarn build:demo yarn build:demobliss
sudo cp -r ./dist/framadate/* ../framadate-api/public/ sudo cp -r ./dist/framadate/* ../framadate-api/public/
echo " now check update demo at https://framadate-api.cipherbliss.com" echo " now check update demo at https://framadate-api.cipherbliss.com"