demo build script back to life

archived-develop
Baptiste Lemoine 3 years ago
parent a1de41699e
commit 4f0a29e806

@ -7,6 +7,8 @@
"start": "ng serve",
"build": "ng build --prod --progress=true",
"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:watch": "jest --watch",
"test:ci": "jest --runInBand",

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

Loading…
Cancel
Save