Browse Source

demo build script back to life

develop
Baptiste Lemoine 2 years ago
parent
commit
4f0a29e806
  1. 2
      package.json
  2. 2
      update-demo.sh

2
package.json

@ -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
update-demo.sh

@ -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