Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Commit

Permalink
Adding run target for staging. (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomik-corp authored May 5, 2022
1 parent fe28119 commit f251ad0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
"scripts": {
"pre-build": "bash scripts/reset-build-directories.sh && bash scripts/add-protocol.sh && node scripts/add-version-object.js",
"dev": "npm run config:web:demo && npm run build:functions && firebase emulators:exec --project demo-rally --only auth,functions,firestore --ui 'npm run load:data && (npm run watch:functions & npm run watch:web)'",
"config:web": "firebase_project=$(firebase use) || (echo ${firebase_project}; exit 1) && echo Configuring for Firebase project: ${firebase_project} && cp config/firebase.config.${firebase_project}.json ./build/firebase.config.json",
"dev:staging": "npm run config:web:staging && npm run compile:sass:watch & svelte-kit dev",
"config:web": "firebase_project=$(firebase use) || (echo ${firebase_project}; exit 1) && echo Configuring for Firebase project: ${firebase_project} && cp config/firebase.config.${firebase_project}.json ./build/firebase.config.json",
"config:web:demo": "cp config/firebase.config.demo-rally.json static/firebase.config.json",
"config:web:staging": "cp config/firebase.config.rally-web-stage.json static/firebase.config.json",
"dev:web": "npm run pre-build && npm run config:web:demo && svelte-kit dev",
"build": "npm run pre-build && npm run build:functions && svelte-kit build && npm run compile:sass",
"build:functions": "cd functions && npm install && npm run build && cd ..",
Expand Down

0 comments on commit f251ad0

Please sign in to comment.