diff --git a/package.json b/package.json index cc17d557..f36aab30 100644 --- a/package.json +++ b/package.json @@ -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 ..",