#Jekyll Markdown Quick Reference
####Write in simply awesome markdown
layout: post
title: Markdown Style Guide
---| # Firebase Configuration | |
| # Copy this file to .env.local and fill in your Firebase project details | |
| # IMPORTANT: Never commit your actual .env.local file to version control! | |
| # Firebase Web App Configuration | |
| VITE_FIREBASE_API_KEY=your_api_key_here | |
| VITE_FIREBASE_AUTH_DOMAIN=your_project_id.firebaseapp.com | |
| VITE_FIREBASE_PROJECT_ID=your_project_id | |
| VITE_FIREBASE_STORAGE_BUCKET=your_project_id.appspot.com | |
| VITE_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id |
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "edge", | |
| "request": "launch", | |
| "name": "Launch Edge on localhost://4200 pe app", |
#Jekyll Markdown Quick Reference
####Write in simply awesome markdown
layout: post
title: Markdown Style Guide
---| {"lastUpload":"2020-08-24T00:50:10.434Z","extensionVersion":"v3.4.3"} |
| /** | |
| * replace.build.js: puts the semver from package.json in angular environment.prod.ts | |
| * see: http://www.bilyachat.com/2017/01/angular-2-build-version.html | |
| */ | |
| var replace = require("replace-in-file"); | |
| var package = require("./package.json"); | |
| var buildVersion = package.version; | |
| const options = { | |
| files: "src/environments/environment.prod.ts", | |
| from: /version: \"(.*)\"/g, |
| { | |
| "functions": { | |
| "source": "/", | |
| "predeploy": ["npm run build functions"] | |
| }, | |
| "hosting": { | |
| "public": "dist/apps/angapp", | |
| "ignore": ["firebase.json", "**/node_modules/**"], | |
| "rewrites": [{ "source": "**", "destination": "/index.html" }] | |
| } |
| # To use from command line . .\func-help.ps1 Start-FBFuncDeployDebug | |
| # (c) Todd Warren 2018 free for all to use with attribution | |
| function Start-FBFuncDeployDebug { | |
| Param( [parameter(Position = 0, Mandatory = $true)][String]$functionName, [parameter(Position = 1, Mandatory = $false)][Int32]$timeout = 600) | |
| $fdeploy = "functions deploy " + $functionName + " --trigger-http --timeout " + $timeout + 's' | |
| $finspect = "functions inspect " + $functionName + " --pause" | |
| Write-Output $fdeploy | |
| Write-Output $finspect | |
| Invoke-Expression -Command $fdeploy | |
| Invoke-Expression -Command $finspect |